From 1c3379f0824f214b3398df0f36d59ddd88c451da Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Mon, 30 Jan 2023 19:00:49 +0000 Subject: [PATCH] Qt: Connect close instead of accept for the close button --- pcsx2-qt/Settings/SettingsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-qt/Settings/SettingsDialog.cpp b/pcsx2-qt/Settings/SettingsDialog.cpp index e97b736ad9..44f827f962 100644 --- a/pcsx2-qt/Settings/SettingsDialog.cpp +++ b/pcsx2-qt/Settings/SettingsDialog.cpp @@ -191,7 +191,7 @@ void SettingsDialog::setupUi(const GameList::Entry* game) m_ui.settingsContainer->setCurrentIndex(0); m_ui.helpText->setText(m_category_help_text[0]); connect(m_ui.settingsCategory, &QListWidget::currentRowChanged, this, &SettingsDialog::onCategoryCurrentRowChanged); - connect(m_ui.closeButton, &QPushButton::clicked, this, &SettingsDialog::accept); + connect(m_ui.closeButton, &QPushButton::clicked, this, &SettingsDialog::close); connect(m_ui.restoreDefaultsButton, &QPushButton::clicked, this, &SettingsDialog::onRestoreDefaultsClicked); }