From 1b07d9a62185f2da0e906346648ea4e270c9ea3e Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 28 Nov 2015 19:11:12 +0000 Subject: [PATCH] 9027: Put tag selection list in alphabetical order --- gramps/gui/widgets/monitoredwidgets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gui/widgets/monitoredwidgets.py b/gramps/gui/widgets/monitoredwidgets.py index 47d5f4514..e2074baa2 100644 --- a/gramps/gui/widgets/monitoredwidgets.py +++ b/gramps/gui/widgets/monitoredwidgets.py @@ -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