mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-03 19:08:34 -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)) {
|
if (!global::actionManager->hasAction(it->second)) {
|
||||||
// Silently ignoring the unknown action as the user might have intended to
|
// 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
|
// bind a key to multiple actions, only one of which could be defined
|
||||||
|
}
|
||||||
|
else {
|
||||||
global::actionManager->triggerAction(it->second, ghoul::Dictionary());
|
global::actionManager->triggerAction(it->second, ghoul::Dictionary());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user