1
0
mirror of synced 2025-02-14 17:42:35 +01:00

fix: Properly trigger global shortcuts

This commit is contained in:
WerWolv 2025-02-06 22:34:34 +01:00
parent 4c284b224e
commit a588c96440

View File

@ -53,7 +53,9 @@ namespace hex::plugin::builtin {
callback(); callback();
else { else {
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) { if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
callback(); if (!ShortcutManager::runShortcut(shortcut)) {
callback();
}
} }
} }
} }