make sure we save note type after fixing ad bug

This commit is contained in:
Damien Elmes 2014-09-27 10:32:21 +09:00
parent 6b65cfc08f
commit ba7abb53e2

View file

@ -699,6 +699,7 @@ select id from notes where mid not in """ + ids2str(self.models.ids()))
if t['did'] == "None":
t['did'] = None
problems.append(_("Fixed AnkiDroid deck override bug."))
self.models.save(m)
if m['type'] == MODEL_STD:
# model with missing req specification
if 'req' not in m: