Don't discard new card contents by default

This commit is contained in:
Aidan Holm 2019-09-01 13:09:03 +08:00
parent 8b78d326f8
commit ac497eaf7c

View file

@ -220,7 +220,7 @@ question on all cards."""), help="AddItems")
def ifCanClose(self, onOk): def ifCanClose(self, onOk):
def afterSave(): def afterSave():
ok = (self.editor.fieldsAreBlank() or ok = (self.editor.fieldsAreBlank() or
askUser(_("Close and lose current input?"))) askUser(_("Close and lose current input?"), defaultno=True))
if ok: if ok:
onOk() onOk()