1
0
mirror of synced 2025-02-11 08:12:58 +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)
callback();
else {
ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView());
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
callback();
}
}
}
} else {