From 1a16fe577f4b8ce92f1c5a54142c5f9f2a67c411 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 16 Apr 2012 16:20:10 +0000 Subject: [PATCH] 5655: Fix warnings when tags have duplicate names svn: r19343 --- src/gui/views/tags.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/views/tags.py b/src/gui/views/tags.py index d1fe60f1e..de424cb44 100644 --- a/src/gui/views/tags.py +++ b/src/gui/views/tags.py @@ -210,9 +210,8 @@ class Tags(DbGUIElement): tag_menu += '' tag_menu += '' for tag_name, handle in self.__tag_list: - tag_menu += '' % escape(tag_name, - {'"':'"'}) - actions.append(('TAG_%s' % tag_name, None, tag_name, None, None, + tag_menu += '' % handle + actions.append(('TAG_%s' % handle, None, tag_name, None, None, make_callback(self.tag_selected_rows, handle))) self.tag_ui = TAG_1 + tag_menu + TAG_2 + tag_menu + TAG_3