From ebf423bc9c7cba5e4438ecc598410895502d0a00 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sun, 28 Feb 2021 15:45:58 +0100 Subject: [PATCH] Remove Change Tracker again --- qt/aqt/editor.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 92842da1c..2723796d7 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -29,7 +29,6 @@ from anki.utils import checksum, isLin, isWin, namedtmp from aqt import AnkiQt, colors, gui_hooks from aqt.main import ResetReason from aqt.qt import * -from aqt.schema_change_tracker import ChangeTracker from aqt.sound import av_player from aqt.theme import theme_manager from aqt.utils import ( @@ -480,9 +479,6 @@ class Editor: fld = self.note.model()["flds"][ord] fld["sticky"] = not fld["sticky"] - change_tracker = ChangeTracker(self.mw) - change_tracker.mark_basic() - def mungeHTML(self, txt: str) -> str: return gui_hooks.editor_will_munge_html(txt, self)