mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure we save note type after fixing ad bug
This commit is contained in:
parent
6b65cfc08f
commit
ba7abb53e2
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue