Commit 32abb710 authored by Jonathan Wilkes's avatar Jonathan Wilkes

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

parent 6f4d148b
......@@ -775,7 +775,10 @@ function nw_create_patch_window_menus (name) {
editMenu.append(new nw.MenuItem({
label: l('menu.editmode'),
click: function() { pdgui.pdsend(name + " editmode 0"); },
click: function() {
check_box_for_text();
pdgui.pdsend(name + " editmode 0");
},
key: 'e',
modifiers: "ctrl",
tooltip: l('menu.editmode_tt')
......
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