Skip to content

Commit

Permalink
Merge branch 'feat/redesign-decks-dialog' into feat/make-suspension-s…
Browse files Browse the repository at this point in the history
…ettings-per-deck
  • Loading branch information
RisingOrange authored Oct 19, 2023
2 parents 1b6d202 + 97b4bc8 commit 81a9266
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ankihub/gui/decks_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from uuid import UUID

import aqt
from anki.collection import OpChanges
from aqt import gui_hooks
from aqt.qt import (
QBoxLayout,
QCheckBox,
Expand Down Expand Up @@ -413,14 +411,6 @@ def _selected_ah_did(self) -> Optional[UUID]:
result = selection[0].data(Qt.ItemDataRole.UserRole)
return result

def _refresh_anki(self) -> None:
op = OpChanges()
op.deck = True
op.browser_table = True
op.browser_sidebar = True
op.study_queues = True
gui_hooks.operation_did_execute(op, handler=None)

def _select_deck(self, ah_did: uuid.UUID):
deck_item = next(
(
Expand Down

0 comments on commit 81a9266

Please sign in to comment.