mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Qt: Don't double-create the controller settings widgets
If editing a preset.
This commit is contained in:
@@ -101,7 +101,8 @@ ControllerSettingsWindow::ControllerSettingsWindow(INISettingsInterface* game_si
|
||||
}
|
||||
}
|
||||
|
||||
createWidgets();
|
||||
if (m_ui.settingsContainer->count() == 0)
|
||||
createWidgets();
|
||||
}
|
||||
|
||||
ControllerSettingsWindow::~ControllerSettingsWindow() = default;
|
||||
|
||||
Reference in New Issue
Block a user