InputSettings: Refresh panels on profile load and other operations
This commit is contained in:
parent
3df8217a02
commit
948460cad7
1 changed files with 8 additions and 0 deletions
|
@ -418,7 +418,15 @@ void InputSettings2::update_state()
|
|||
|
||||
// enabled correct panel for active controller
|
||||
if (active_api && emulated_controller && emulated_controller->type() == active_api.value())
|
||||
{
|
||||
// same controller type panel already shown, refresh content of panels
|
||||
for (auto* panel : page_data.m_panels)
|
||||
{
|
||||
if (panel)
|
||||
panel->load_controller(page_data.m_controller);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// hide all panels
|
||||
for (auto* panel : page_data.m_panels)
|
||||
|
|
Loading…
Reference in a new issue