mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
[UpdateDialog] Close dialog when declining an update (#2517)
This commit is contained in:
parent
1ed9823b56
commit
e9f6c67ed8
1 changed files with 2 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ void DlgUpdate::finishedUpdateCheck(bool needToUpdate, bool isCompatible, Releas
|
|||
|
||||
if (reply == QMessageBox::Yes) {
|
||||
downloadUpdate(release->getName());
|
||||
} else {
|
||||
closeDialog();
|
||||
}
|
||||
} else {
|
||||
QMessageBox::information(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue