Use Cancel instead of Discard
On some platform, QMessageBox.Discard results in "Close without Saving" instead of "Discard", which is not what is intended here
Please register or sign in to comment
On some platform, QMessageBox.Discard results in "Close without Saving" instead of "Discard", which is not what is intended here