remove some unnecessary checkpoints

This commit is contained in:
Damien Elmes 2021-05-08 17:04:05 +10:00
parent 1918031399
commit 4be5d08559
3 changed files with 0 additions and 3 deletions

View file

@ -59,7 +59,6 @@ class CardLayout(QDialog):
self.mobile_emulation_enabled = False
self.have_autoplayed = False
self.mm._remove_from_cache(self.model["id"])
self.mw.checkpoint(tr.card_templates_card_types())
self.change_tracker = ChangeTracker(self.mw)
self.setupTopArea()
self.setupMainArea()

View file

@ -32,7 +32,6 @@ class FieldDialog(QDialog):
self.mm = self.mw.col.models
self.model = nt
self.mm._remove_from_cache(self.model["id"])
self.mw.checkpoint(tr.editing_fields())
self.change_tracker = ChangeTracker(self.mw)
self.form = aqt.forms.fields.Ui_Dialog()
self.form.setupUi(self)

View file

@ -49,7 +49,6 @@ class Models(QDialog):
self.col = mw.col.weakref()
assert self.col
self.mm = self.col.models
self.mw.checkpoint(tr.notetypes_note_types())
self.form = aqt.forms.models.Ui_Dialog()
self.form.setupUi(self)
qconnect(