clears undo before changing schedulers

This commit is contained in:
lovac42 2019-08-30 20:55:38 -04:00
parent 8d5c0f4853
commit 9069d282a2

View File

@ -110,6 +110,7 @@ class _Collection:
raise Exception("Unsupported scheduler version")
self.modSchema(check=True)
self.clearUndo()
from anki.schedv2 import Scheduler
v2Sched = Scheduler(self)