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
This commit is contained in:
Damien Elmes 2021-02-26 18:48:32 +10:00
parent d666b7e5b0
commit b8acf11f3e

View file

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