separators and fixes

This commit is contained in:
zadam
2019-11-20 23:10:41 +01:00
parent 5fac2c7633
commit 587134c2f8
3 changed files with 138 additions and 96 deletions

View File

@@ -259,7 +259,9 @@ function setActionHandler(actionName, handler) {
action.handler = handler;
for (const shortcut of action.effectiveShortcuts) {
utils.bindGlobalShortcut(shortcut, handler);
if (shortcut) {
utils.bindGlobalShortcut(shortcut, handler);
}
}
});
}