mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 14:29:10 -05:00
clears undo before changing schedulers
This commit is contained in:
parent
a839aa42af
commit
390dece050
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue