fix change note type getting stuck

thanks to stvad for the report
This commit is contained in:
Damien Elmes 2016-07-11 11:34:12 +10:00
parent 46dae2507b
commit 5b10d7c45b

View file

@ -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