fix delete shortcut in note tree and protect notes recursively

This commit is contained in:
zadam
2020-03-15 22:09:48 +01:00
parent 3a4d32f163
commit 40247a591e
2 changed files with 2 additions and 2 deletions

View File

@@ -652,7 +652,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
for (const action of actions) {
for (const shortcut of action.effectiveShortcuts) {
hotKeyMap[shortcut] = node => this.triggerCommand(action.actionName, {node});
hotKeyMap[utils.normalizeShortcut(shortcut)] = node => this.triggerCommand(action.actionName, {node});
}
}