mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-07 01:42:30 +00:00
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:
parent
4abb25a1fc
commit
7ca14c4d26
@ -464,6 +464,8 @@ void CheatsPatches::onSaveButtonClicked() {
|
|||||||
} else {
|
} else {
|
||||||
QMessageBox::information(this, tr("Success"), tr("Options saved successfully."));
|
QMessageBox::information(this, tr("Success"), tr("Options saved successfully."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QWidget::close();
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox* CheatsPatches::findCheckBoxByName(const QString& name) {
|
QCheckBox* CheatsPatches::findCheckBoxByName(const QString& name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user