fix: Properly trigger global shortcuts
This commit is contained in:
parent
4c284b224e
commit
a588c96440
@ -53,7 +53,9 @@ namespace hex::plugin::builtin {
|
||||
callback();
|
||||
else {
|
||||
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
|
||||
callback();
|
||||
if (!ShortcutManager::runShortcut(shortcut)) {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user