fix: Properly trigger all shortcuts
This commit is contained in:
parent
96afa650d1
commit
4c284b224e
@ -52,7 +52,9 @@ namespace hex::plugin::builtin {
|
||||
if (shortcut == Shortcut::None)
|
||||
callback();
|
||||
else {
|
||||
ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView());
|
||||
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user