9027: Put tag selection list in alphabetical order

This commit is contained in:
Nick Hall 2015-11-28 19:11:12 +00:00
parent 24377c66c8
commit 1b07d9a621

View File

@ -829,7 +829,8 @@ class MonitoredTagList(object):
self.tag_list.append((handle, tag.get_name()))
self.all_tags = []
for tag in self.db.iter_tags():
for handle in self.db.get_tag_handles(sort_handles=True):
tag = self.db.get_tag_from_handle(handle)
self.all_tags.append((tag.get_handle(), tag.get_name()))
self.label = label