mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix automatically-buried cards not being included in toggle bury
This commit is contained in:
parent
a886e59e0a
commit
d1004ddcfd
1 changed files with 3 additions and 1 deletions
|
@ -878,7 +878,9 @@ class Browser(QMainWindow):
|
|||
|
||||
def _update_toggle_bury_action(self) -> None:
|
||||
is_buried = bool(
|
||||
self.current_card and self.current_card.queue == QUEUE_TYPE_MANUALLY_BURIED
|
||||
self.current_card
|
||||
and self.current_card.queue
|
||||
in (QUEUE_TYPE_MANUALLY_BURIED, QUEUE_TYPE_SIBLING_BURIED)
|
||||
)
|
||||
self.form.action_toggle_bury.setChecked(is_buried)
|
||||
|
||||
|
|
Loading…
Reference in a new issue