From 82947f0f657786e322cc458d641e227fe915ac8f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 15 Jan 2026 20:01:27 +1000 Subject: [PATCH] Qt: Don't double-create the controller settings widgets If editing a preset. --- src/duckstation-qt/controllersettingswindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/duckstation-qt/controllersettingswindow.cpp b/src/duckstation-qt/controllersettingswindow.cpp index ede1de063..0f298e689 100644 --- a/src/duckstation-qt/controllersettingswindow.cpp +++ b/src/duckstation-qt/controllersettingswindow.cpp @@ -101,7 +101,8 @@ ControllerSettingsWindow::ControllerSettingsWindow(INISettingsInterface* game_si } } - createWidgets(); + if (m_ui.settingsContainer->count() == 0) + createWidgets(); } ControllerSettingsWindow::~ControllerSettingsWindow() = default;