Remove Change Tracker again
This commit is contained in:
parent
29742122d2
commit
ebf423bc9c
@ -29,7 +29,6 @@ from anki.utils import checksum, isLin, isWin, namedtmp
|
|||||||
from aqt import AnkiQt, colors, gui_hooks
|
from aqt import AnkiQt, colors, gui_hooks
|
||||||
from aqt.main import ResetReason
|
from aqt.main import ResetReason
|
||||||
from aqt.qt import *
|
from aqt.qt import *
|
||||||
from aqt.schema_change_tracker import ChangeTracker
|
|
||||||
from aqt.sound import av_player
|
from aqt.sound import av_player
|
||||||
from aqt.theme import theme_manager
|
from aqt.theme import theme_manager
|
||||||
from aqt.utils import (
|
from aqt.utils import (
|
||||||
@ -480,9 +479,6 @@ class Editor:
|
|||||||
fld = self.note.model()["flds"][ord]
|
fld = self.note.model()["flds"][ord]
|
||||||
fld["sticky"] = not fld["sticky"]
|
fld["sticky"] = not fld["sticky"]
|
||||||
|
|
||||||
change_tracker = ChangeTracker(self.mw)
|
|
||||||
change_tracker.mark_basic()
|
|
||||||
|
|
||||||
def mungeHTML(self, txt: str) -> str:
|
def mungeHTML(self, txt: str) -> str:
|
||||||
return gui_hooks.editor_will_munge_html(txt, self)
|
return gui_hooks.editor_will_munge_html(txt, self)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user