mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: Properly trigger all shortcuts
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user