we can revert to fix#1 for the modSchema issue now

as we save at start of change note type screen, instead of in
beginReset()
This commit is contained in:
Damien Elmes 2016-07-14 21:49:40 +10:00
parent 407aaae797
commit 7c76a23cce

View file

@ -1728,7 +1728,8 @@ Are you sure you want to continue?""")):
QDialog.accept(self)
self.browser.mw.checkpoint(_("Change Note Type"))
b = self.browser
b.mw.progress.start(immediate=True)
b.mw.col.modSchema(check=True)
b.mw.progress.start()
b.model.beginReset()
mm = b.mw.col.models
mm.change(self.oldModel, self.nids, self.targetModel, fmap, cmap)