Select cancel button by default

Consistent with 'keep editing' in add screen
This commit is contained in:
Damien Elmes 2023-12-24 16:07:25 +10:00
parent c39f2cacae
commit 37f55a381e

View File

@ -911,7 +911,7 @@ class CardLayout(QDialog):
QMessageBox.StandardButton.Discard, QMessageBox.StandardButton.Discard,
QMessageBox.StandardButton.Cancel, QMessageBox.StandardButton.Cancel,
], ],
default_button=0, default_button=2,
parent=self, parent=self,
) )
else: else: