mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
fix delete shortcut in note tree and protect notes recursively
This commit is contained in:
@@ -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});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user