mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
ControlReference: don't reparse expression when references are updated
This commit is contained in:
parent
c332580b83
commit
31f1c06226
8 changed files with 41 additions and 25 deletions
|
@ -344,7 +344,7 @@ void HotkeyManager::LoadDefaults(const ControllerInterface& ciface)
|
|||
auto set_key_expression = [this](int index, const std::string& expression) {
|
||||
m_keys[FindGroupByID(index)]
|
||||
->controls[GetIndexForGroup(FindGroupByID(index), index)]
|
||||
->control_ref->expression = expression;
|
||||
->control_ref->SetExpression(expression);
|
||||
};
|
||||
|
||||
// General hotkeys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue