Skip to content
Snippets Groups Projects
Commit 32abb710 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

if a box is being edited when editmode changes, try to instantiate the box first

parent 6f4d148b
No related branches found
No related tags found
No related merge requests found
...@@ -775,7 +775,10 @@ function nw_create_patch_window_menus (name) { ...@@ -775,7 +775,10 @@ function nw_create_patch_window_menus (name) {
editMenu.append(new nw.MenuItem({ editMenu.append(new nw.MenuItem({
label: l('menu.editmode'), label: l('menu.editmode'),
click: function() { pdgui.pdsend(name + " editmode 0"); }, click: function() {
check_box_for_text();
pdgui.pdsend(name + " editmode 0");
},
key: 'e', key: 'e',
modifiers: "ctrl", modifiers: "ctrl",
tooltip: l('menu.editmode_tt') tooltip: l('menu.editmode_tt')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment