mirror of
https://github.com/ankitects/anki.git
synced 2026-01-15 06:49:03 -05:00
Don't discard new card contents by default
This commit is contained in:
parent
4bfb8e8881
commit
b68ed4180c
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ question on all cards."""), help="AddItems")
|
|||
def ifCanClose(self, onOk):
|
||||
def afterSave():
|
||||
ok = (self.editor.fieldsAreBlank() or
|
||||
askUser(_("Close and lose current input?")))
|
||||
askUser(_("Close and lose current input?"), defaultno=True))
|
||||
if ok:
|
||||
onOk()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue