mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Load saved searches list in sorted order
This commit is contained in:
parent
e294469521
commit
6e20bf7013
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ by clicking on one on the left."""))
|
|||
root = self.CallbackItem(root, _("My Searches"), None)
|
||||
root.setExpanded(True)
|
||||
root.setIcon(0, QIcon(":/icons/emblem-favorite-dark.png"))
|
||||
for name, filt in saved.items():
|
||||
for name, filt in sorted(saved.items()):
|
||||
item = self.CallbackItem(root, name, lambda s=filt: self.setFilter(s))
|
||||
item.setIcon(0, QIcon(":/icons/emblem-favorite-dark.png"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue