mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
Replace saved search icon
This commit is contained in:
parent
aacf20531e
commit
39075039de
2 changed files with 5 additions and 4 deletions
|
|
@ -522,13 +522,14 @@ class SidebarTreeView(QTreeView):
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
def _saved_searches_tree(self, root: SidebarItem) -> None:
|
def _saved_searches_tree(self, root: SidebarItem) -> None:
|
||||||
icon = ":/icons/heart.svg"
|
icon = ":/icons/bookmark-outline.svg"
|
||||||
|
icon_multiple = ":/icons/bookmark-multiple-outline.svg"
|
||||||
saved = self._get_saved_searches()
|
saved = self._get_saved_searches()
|
||||||
|
|
||||||
root = self._section_root(
|
root = self._section_root(
|
||||||
root=root,
|
root=root,
|
||||||
name=tr.browsing_sidebar_saved_searches(),
|
name=tr.browsing_sidebar_saved_searches(),
|
||||||
icon=icon,
|
icon=icon_multiple,
|
||||||
collapse_key=Config.Bool.COLLAPSE_SAVED_SEARCHES,
|
collapse_key=Config.Bool.COLLAPSE_SAVED_SEARCHES,
|
||||||
type=SidebarItemType.SAVED_SEARCH_ROOT,
|
type=SidebarItemType.SAVED_SEARCH_ROOT,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ load("//ts:vendor.bzl", "copy_mdi_icons", "copy_bootstrap_icons")
|
||||||
copy_mdi_icons(
|
copy_mdi_icons(
|
||||||
name = "mdi-icons",
|
name = "mdi-icons",
|
||||||
icons = [
|
icons = [
|
||||||
"bookmark-multiple-outline.svg",
|
|
||||||
"bookmark-outline.svg",
|
"bookmark-outline.svg",
|
||||||
|
"bookmark-multiple-outline.svg",
|
||||||
|
|
||||||
"flag-variant.svg",
|
|
||||||
"flag-variant-outline.svg",
|
"flag-variant-outline.svg",
|
||||||
|
"flag-variant.svg",
|
||||||
|
|
||||||
# state
|
# state
|
||||||
"circle.svg",
|
"circle.svg",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue