Change default to return handles unsorted on get_object_handles methods

svn: r17537
This commit is contained in:
Michiel Nauta
2011-05-19 20:36:17 +00:00
parent cd0f3a4a36
commit 654fb81665
12 changed files with 25 additions and 24 deletions

View File

@@ -192,7 +192,7 @@ class SidebarFilter(DbGUIElement):
Called when the tag list needs to be rebuilt.
"""
self.__tag_list = []
for handle in self.dbstate.db.get_tag_handles():
for handle in self.dbstate.db.get_tag_handles(sort_handles=True):
tag = self.dbstate.db.get_tag_from_handle(handle)
self.__tag_list.append((tag.get_name(), handle))
self.on_tags_changed([item[0] for item in self.__tag_list])