mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
when copying a model over in import, make sure we flag it for sync
This commit is contained in:
parent
ea57f32939
commit
322a2884f9
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,8 @@ class Anki2Importer(Importer):
|
|||
# copy it over
|
||||
model = srcModel.copy()
|
||||
model['id'] = mid
|
||||
model['mod'] = intTime()
|
||||
model['usn'] = self.col.usn()
|
||||
self.dst.models.update(model)
|
||||
break
|
||||
# there's an existing model; do the schemas match?
|
||||
|
|
Loading…
Reference in a new issue