From 520d0390e47a4c1ce7be32153cff6a14537dc0bc Mon Sep 17 00:00:00 2001 From: zeph Date: Wed, 10 Dec 2025 20:55:21 +0100 Subject: [PATCH] Clans: fix empty dialog accidentally spawning Signed-off-by: zeph --- rpcs3/rpcs3qt/clans_settings_dialog.cpp | 6 ------ rpcs3/rpcs3qt/main_window.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rpcs3/rpcs3qt/clans_settings_dialog.cpp b/rpcs3/rpcs3qt/clans_settings_dialog.cpp index 4a9ab3b2a0..4b54515415 100644 --- a/rpcs3/rpcs3qt/clans_settings_dialog.cpp +++ b/rpcs3/rpcs3qt/clans_settings_dialog.cpp @@ -13,12 +13,6 @@ clans_settings_dialog::clans_settings_dialog(QWidget* parent) : QDialog(parent) { - if (!Emu.IsStopped()) - { - QMessageBox::critical(this, tr("Error: Emulation Running"), tr("You need to stop the emulator before editing Clans connection information!"), QMessageBox::Ok); - return; - } - g_cfg_clans.load(); setWindowTitle(tr("Clans Configuration")); diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index aee3ce5ca2..122b8d6ff0 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -2994,6 +2994,12 @@ void main_window::CreateConnects() connect(ui->confClansAct, &QAction::triggered, this, [this]() { + if (!Emu.IsStopped()) + { + QMessageBox::critical(this, tr("Error: Emulation Running"), tr("You need to stop the emulator before editing Clans connection information!"), QMessageBox::Ok); + return; + } + clans_settings_dialog dlg(this); dlg.exec(); });