fix edit close on esc keyboard shortcut

This commit is contained in:
zombieFox 2021-08-29 17:59:18 +01:00
parent 9c84540c1b
commit 5190bb74ad
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ keyboard.esc = new KeyboardShortcut({
action: () => { action: () => {
if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) { if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) {
bookmark.edit.close(); bookmark.edit.close();
group.edit.close();
header.edit.close();
toolbar.current.update.edit(); toolbar.current.update.edit();
}; };
data.save(); data.save();