if span with no id, we have an anonymous tag. make sure we do not TB. fix #2856

This commit is contained in:
Nikos Kouremenos 2007-01-06 10:14:05 +00:00
parent 02285f0a84
commit 978068378d
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ class ConversationTextview:
if tags: # we clicked on sth special (it can be status message too)
for tag in tags:
tag_name = tag.get_property('name')
if 'url' in tag_name or 'mail' in tag_name:
if tag_name is not None and 'url' in tag_name or 'mail' in tag_name:
return True # we block normal context menu
# we check if sth was selected and if it was we assign