mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
remove some unnecessary checkpoints
This commit is contained in:
parent
1918031399
commit
4be5d08559
3 changed files with 0 additions and 3 deletions
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue