fix wrong item type being used for recent items

This commit is contained in:
Damien Elmes 2021-02-08 22:49:56 +10:00
parent 05074f2cc1
commit 202cf38446

View File

@ -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(