mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 21:47:40 -05:00
fix: Properly trigger global shortcuts
This commit is contained in:
@@ -53,7 +53,9 @@ namespace hex::plugin::builtin {
|
||||
callback();
|
||||
else {
|
||||
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
|
||||
callback();
|
||||
if (!ShortcutManager::runShortcut(shortcut)) {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user