mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
Don't discard new card contents by default
This commit is contained in:
parent
8b78d326f8
commit
ac497eaf7c
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