1
0
mirror of synced 2025-02-11 16:22:59 +01:00

fix: Properly trigger all shortcuts

This commit is contained in:
WerWolv 2025-02-06 22:33:14 +01:00
parent 96afa650d1
commit 4c284b224e

View File

@ -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 {