From f26c6f76bcf967cb5cad3811c6f2342b07c6e0ea Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 25 Mar 2011 07:00:21 +0900 Subject: [PATCH] fix other missing properties on upgrade --- anki/storage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anki/storage.py b/anki/storage.py index f1966117e..40c68df58 100644 --- a/anki/storage.py +++ b/anki/storage.py @@ -418,7 +418,10 @@ order by modelId, ordinal"""): # ensure data is good conf['rtl'] = not not conf['rtl'] conf['pre'] = True + conf['font'] = conf['font'] or "Arial" conf['qcol'] = conf['qcol'] or "#000" + conf['qsize'] = conf['qsize'] or 20 + conf['esize'] = conf['esize'] or 20 mods[row[0]].append(conf) # now we've gathered all the info, save it into the models for mid, fms in mods.items():