Fix bug where triggering of action via keybinds didn't get called

This commit is contained in:
Adam Rohdin
2023-02-10 15:52:41 +01:00
parent e37a9ed213
commit cb45f962e5

View File

@@ -58,6 +58,8 @@ void KeybindingManager::keyboardCallback(Key key, KeyModifier modifier, KeyActio
if (!global::actionManager->hasAction(it->second)) {
// Silently ignoring the unknown action as the user might have intended to
// bind a key to multiple actions, only one of which could be defined
}
else {
global::actionManager->triggerAction(it->second, ghoul::Dictionary());
}
}