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)
|
if (shortcut == Shortcut::None)
|
||||||
callback();
|
callback();
|
||||||
else {
|
else {
|
||||||
ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView());
|
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
|
||||||
|
callback();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user