Select cancel button by default
Consistent with 'keep editing' in add screen
This commit is contained in:
parent
c39f2cacae
commit
37f55a381e
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user