mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 00:59:18 +01:00
InputSettings: Refresh panels on profile load and other operations
This commit is contained in:
parent
3df8217a02
commit
948460cad7
@ -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 New Issue
Block a user