Save State UI: Cache legend strings

This commit is contained in:
Silent 2021-02-22 19:34:51 +01:00
commit 78f9136fb8
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
3 changed files with 42 additions and 33 deletions

View file

@ -1292,6 +1292,8 @@ void CommonHostInterface::UpdateHotkeyInputMap(SettingsInterface& si)
AddButtonToInputMap(binding, device, button, hi.handler);
}
}
m_save_state_selector_ui->RefreshHotkeyLegend();
}
bool CommonHostInterface::AddButtonToInputMap(const std::string& binding, const std::string_view& device,