mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Merge pull request #329 from aidanholm/fix-default-discard
Don't discard new card contents by default
This commit is contained in:
commit
396d14e58f
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