fix other missing properties on upgrade

This commit is contained in:
Damien Elmes 2011-03-25 07:00:21 +09:00
parent 3c40854583
commit f26c6f76bc

View file

@ -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():