mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
fix change note type getting stuck
thanks to stvad for the report
This commit is contained in:
parent
46dae2507b
commit
5b10d7c45b
1 changed files with 1 additions and 0 deletions
|
@ -1671,6 +1671,7 @@ Are you sure you want to continue?""")):
|
||||||
QDialog.accept(self)
|
QDialog.accept(self)
|
||||||
self.browser.mw.checkpoint(_("Change Note Type"))
|
self.browser.mw.checkpoint(_("Change Note Type"))
|
||||||
b = self.browser
|
b = self.browser
|
||||||
|
b.mw.col.modSchema(check=True)
|
||||||
b.mw.progress.start()
|
b.mw.progress.start()
|
||||||
b.model.beginReset()
|
b.model.beginReset()
|
||||||
mm = b.mw.col.models
|
mm = b.mw.col.models
|
||||||
|
|
Loading…
Reference in a new issue