mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
fix unbury op w/ v1 scheduler
This commit is contained in:
parent
a6ccae95b6
commit
ed9110d530
1 changed files with 5 additions and 0 deletions
|
|
@ -89,6 +89,11 @@ class Overview:
|
||||||
self.onStudyMore()
|
self.onStudyMore()
|
||||||
|
|
||||||
def onUnbury(self):
|
def onUnbury(self):
|
||||||
|
if self.mw.col.schedVer() == 1:
|
||||||
|
self.mw.col.sched.unburyCardsForDeck()
|
||||||
|
self.mw.reset()
|
||||||
|
return
|
||||||
|
|
||||||
sibs = self.mw.col.sched.haveBuriedSiblings()
|
sibs = self.mw.col.sched.haveBuriedSiblings()
|
||||||
man = self.mw.col.sched.haveManuallyBuried()
|
man = self.mw.col.sched.haveManuallyBuried()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue