mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 21:27:14 -05:00
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:
parent
d666b7e5b0
commit
b8acf11f3e
1 changed files with 0 additions and 5 deletions
|
|
@ -616,11 +616,6 @@ class SidebarTreeView(QTreeView):
|
||||||
type=SidebarItemType.SAVED_SEARCH_ROOT,
|
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()):
|
for name, filt in sorted(saved.items()):
|
||||||
item = SidebarItem(
|
item = SidebarItem(
|
||||||
name,
|
name,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue