5271: Gramps Crashes when trying to change tabs / views

svn: r18660
This commit is contained in:
Michiel Nauta 2011-12-29 20:29:19 +00:00
parent b328f473cb
commit 4061a1738a

View File

@ -210,7 +210,8 @@ class Tags(DbGUIElement):
tag_menu += '<menuitem action="OrganizeTags"/>'
tag_menu += '<separator/>'
for tag_name, handle in self.__tag_list:
tag_menu += '<menuitem action="TAG_%s"/>' % escape(tag_name)
tag_menu += '<menuitem action="TAG_%s"/>' % escape(tag_name,
{'"':'&quot;'})
actions.append(('TAG_%s' % tag_name, None, tag_name, None, None,
make_callback(self.tag_selected_rows, handle)))