Skip to content

Commit

Permalink
we can revert to fix#1 for the modSchema issue now
Browse files Browse the repository at this point in the history
as we save at start of change note type screen, instead of in
beginReset()
  • Loading branch information
Damien Elmes committed Jul 14, 2016
1 parent 407aaae commit 7c76a23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aqt/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,8 @@ def accept(self):
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)
Expand Down

0 comments on commit 7c76a23

Please sign in to comment.