fix: Properly trigger global shortcuts
This commit is contained in:
parent
4c284b224e
commit
a588c96440
@ -53,10 +53,12 @@ namespace hex::plugin::builtin {
|
||||
callback();
|
||||
else {
|
||||
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
|
||||
if (!ShortcutManager::runShortcut(shortcut)) {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
bool isSubmenu = (menuItems.begin() + 1)->get() == ContentRegistry::Interface::impl::SubMenuValue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user