Make 'Save' button in 'Patches' section of 'Cheats and Patches' window close the window when clicked

This addresses one of the issues with using shadPS4 on a Steam Deck, or any desktop and/or interface that hides the titlebar, such as window managers
This commit is contained in:
tomboylover93 2025-01-08 18:46:15 -03:00
parent 4abb25a1fc
commit 7ca14c4d26

View File

@ -464,6 +464,8 @@ void CheatsPatches::onSaveButtonClicked() {
} else {
QMessageBox::information(this, tr("Success"), tr("Options saved successfully."));
}
QWidget::close();
}
QCheckBox* CheatsPatches::findCheckBoxByName(const QString& name) {