From ac497eaf7c2ed0f4e423c5c50ab1be263ebaa2c3 Mon Sep 17 00:00:00 2001 From: Aidan Holm Date: Sun, 1 Sep 2019 13:09:03 +0800 Subject: [PATCH] Don't discard new card contents by default --- aqt/addcards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/addcards.py b/aqt/addcards.py index c00625c45..365618881 100644 --- a/aqt/addcards.py +++ b/aqt/addcards.py @@ -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()