Skip to content

Commit

Permalink
Fixed #794 handle infodlg discard
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed May 19, 2024
1 parent 9267f3a commit 8b9f5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infodlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ bool InfoWidget::aboutToClose()
: tr("You have not published your account information changes.\nAre you sure you want to discard "
"them?"),
QMessageBox::Discard | QMessageBox::No);
if (n != 0) {
if (n != QMessageBox::Discard) {
return false;
}
}
Expand Down

0 comments on commit 8b9f5aa

Please sign in to comment.