Neater solution than cb45f96

This commit is contained in:
Adam Rohdin
2023-02-13 10:14:08 +01:00
parent 28c5718959
commit e69ec8ac4d

View File

@@ -58,10 +58,9 @@ 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
continue;
}
else {
global::actionManager->triggerAction(it->second, ghoul::Dictionary());
}
global::actionManager->triggerAction(it->second, ghoul::Dictionary());
}
}
}