Save importing model in any case
https://forums.ankiweb.net/t/bug-notes-are-imported-to-the-wrong-deck-in-certain-cases/4318
This commit is contained in:
parent
06292a45f3
commit
236a6071d4
@ -189,7 +189,6 @@ you can enter it here. Use \\t to represent tab."""
|
||||
self.importer.tagModified = self.frm.tagModified.text()
|
||||
self.mw.pm.profile["tagModified"] = self.importer.tagModified
|
||||
did = self.deck.selectedId()
|
||||
if did != self.importer.model["did"]:
|
||||
self.importer.model["did"] = did
|
||||
self.mw.col.models.save(self.importer.model, updateReqs=False)
|
||||
self.mw.col.decks.select(did)
|
||||
|
Loading…
Reference in New Issue
Block a user