From 202cf384461b834e26043c8f74867f04c7ba177f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 8 Feb 2021 22:49:56 +1000 Subject: [PATCH] fix wrong item type being used for recent items --- qt/aqt/sidebar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/sidebar.py b/qt/aqt/sidebar.py index d54887332..f26741223 100644 --- a/qt/aqt/sidebar.py +++ b/qt/aqt/sidebar.py @@ -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(