mirror of https://github.com/PCSX2/pcsx2.git
Qt: Connect close instead of accept for the close button
This commit is contained in:
parent
86c97a8ba3
commit
1c3379f082
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue