mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add missing sidebar onClicks
This commit is contained in:
parent
cb805cf355
commit
3e69d39a25
1 changed files with 2 additions and 0 deletions
|
@ -461,12 +461,14 @@ class SidebarTreeView(QTreeView):
|
|||
item = SidebarItem(
|
||||
tr(TR.BROWSING_WHOLE_COLLECTION),
|
||||
":/icons/collection.svg",
|
||||
self._filter_func(SearchTerm(whole_collection=True)),
|
||||
item_type=SidebarItemType.COLLECTION,
|
||||
)
|
||||
root.addChild(item)
|
||||
item = SidebarItem(
|
||||
tr(TR.BROWSING_CURRENT_DECK),
|
||||
":/icons/deck.svg",
|
||||
self._filter_func(SearchTerm(current_deck=True)),
|
||||
item_type=SidebarItemType.CURRENT_DECK,
|
||||
)
|
||||
root.addChild(item)
|
||||
|
|
Loading…
Reference in a new issue