5271: Gramps Crashes when trying to change tabs / views

svn: r18659
This commit is contained in:
Michiel Nauta 2011-12-29 20:28:33 +00:00
parent d03eb65fa3
commit 5b355aa92b

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)))