mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Disable buried counts on overview when v2 scheduler in use
https://forums.ankiweb.net/t/fatal-bug-anki-2-1-50-beta5-buried-bug/17969
This commit is contained in:
parent
2c80bcb571
commit
a06036b8aa
1 changed files with 6 additions and 3 deletions
|
@ -225,9 +225,12 @@ class Overview:
|
|||
deck_node = self.mw.col.sched.deck_due_tree(current_did)
|
||||
|
||||
but = self.mw.button
|
||||
buried_new = deck_node.new_count - counts[0]
|
||||
buried_learning = deck_node.learn_count - counts[1]
|
||||
buried_review = deck_node.review_count - counts[2]
|
||||
if self.mw.col.v3_scheduler():
|
||||
buried_new = deck_node.new_count - counts[0]
|
||||
buried_learning = deck_node.learn_count - counts[1]
|
||||
buried_review = deck_node.review_count - counts[2]
|
||||
else:
|
||||
buried_new = buried_learning = buried_review = 0
|
||||
buried_label = tr.browsing_buried()
|
||||
|
||||
def number_row(title: str, klass: str, count: int, buried_count: int) -> str:
|
||||
|
|
Loading…
Reference in a new issue