mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Select cancel button by default
Consistent with 'keep editing' in add screen
This commit is contained in:
parent
c39f2cacae
commit
37f55a381e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue