mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22: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,
|
||||
icon=icon,
|
||||
collapse_key=Config.Bool.COLLAPSE_RECENT,
|
||||
type=SidebarItemType.FLAG_ROOT,
|
||||
type=SidebarItemType.RECENT_ROOT,
|
||||
)
|
||||
type = SidebarItemType.FLAG
|
||||
type = SidebarItemType.RECENT
|
||||
search = self._filter_func
|
||||
|
||||
root.add_simple(
|
||||
|
|
Loading…
Reference in a new issue