mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix wrong item type being used for recent items
This commit is contained in:
parent
05074f2cc1
commit
202cf38446
1 changed files with 2 additions and 2 deletions
|
@ -586,9 +586,9 @@ class SidebarTreeView(QTreeView):
|
||||||
name=TR.BROWSING_SIDEBAR_RECENT,
|
name=TR.BROWSING_SIDEBAR_RECENT,
|
||||||
icon=icon,
|
icon=icon,
|
||||||
collapse_key=Config.Bool.COLLAPSE_RECENT,
|
collapse_key=Config.Bool.COLLAPSE_RECENT,
|
||||||
type=SidebarItemType.FLAG_ROOT,
|
type=SidebarItemType.RECENT_ROOT,
|
||||||
)
|
)
|
||||||
type = SidebarItemType.FLAG
|
type = SidebarItemType.RECENT
|
||||||
search = self._filter_func
|
search = self._filter_func
|
||||||
|
|
||||||
root.add_simple(
|
root.add_simple(
|
||||||
|
|
Loading…
Reference in a new issue