mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
fix other missing properties on upgrade
This commit is contained in:
parent
3c40854583
commit
f26c6f76bc
1 changed files with 3 additions and 0 deletions
|
@ -418,7 +418,10 @@ order by modelId, ordinal"""):
|
||||||
# ensure data is good
|
# ensure data is good
|
||||||
conf['rtl'] = not not conf['rtl']
|
conf['rtl'] = not not conf['rtl']
|
||||||
conf['pre'] = True
|
conf['pre'] = True
|
||||||
|
conf['font'] = conf['font'] or "Arial"
|
||||||
conf['qcol'] = conf['qcol'] or "#000"
|
conf['qcol'] = conf['qcol'] or "#000"
|
||||||
|
conf['qsize'] = conf['qsize'] or 20
|
||||||
|
conf['esize'] = conf['esize'] or 20
|
||||||
mods[row[0]].append(conf)
|
mods[row[0]].append(conf)
|
||||||
# now we've gathered all the info, save it into the models
|
# now we've gathered all the info, save it into the models
|
||||||
for mid, fms in mods.items():
|
for mid, fms in mods.items():
|
||||||
|
|
Loading…
Reference in a new issue