From b8acf11f3e1c1e880779c2f51a50da1b659bc4f5 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 26 Feb 2021 18:48:32 +1000 Subject: [PATCH] remove left-click on saved searches Multiple users have thought it was a bug rather than an intentional feature, and it breaks double-clicking: https://forums.ankiweb.net/t/anki-2-1-41-beta/7305/51 --- qt/aqt/sidebar.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qt/aqt/sidebar.py b/qt/aqt/sidebar.py index 41856e3c7..788193b64 100644 --- a/qt/aqt/sidebar.py +++ b/qt/aqt/sidebar.py @@ -616,11 +616,6 @@ class SidebarTreeView(QTreeView): type=SidebarItemType.SAVED_SEARCH_ROOT, ) - def on_click() -> None: - self.show_context_menu(root, None) - - root.on_click = on_click - for name, filt in sorted(saved.items()): item = SidebarItem( name,