mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-12 06:30:09 -06:00
Fix bug where triggering of action via keybinds didn't get called
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user