Commit 5d3ae322 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port menuitem to raise the pd_window

parent 2d1be7b0
......@@ -200,7 +200,7 @@
"prevwin_tt": "Give focus to the previous window in the stacking order",
"parentwin": "Parent Window",
"parentwin_tt": "give focus to the parent window of the current window",
"pdwin": "Pd & Console",
"pdwin": "Pd Window",
"pdwin_tt": "Give focus to the main Pd window",
"media": "Media",
......@@ -1244,8 +1244,12 @@ function nw_create_patch_window_menus(name) {
winmanMenu.append(new gui.MenuItem({
label: l("menu.pdwin"),
click: menu_generic,
click: function() {
tooltip: l("menu.pdwin_tt"),
key: "r",
modifiers: "ctrl"
// Media menu
......@@ -2896,6 +2896,12 @@ function gui_raise_window(cid) {
function raise_pd_window() {
exports.raise_pd_window= raise_pd_window;
// Openpanel and Savepanel
var file_dialog_target;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment