diff --git a/src/conversation_textview.py b/src/conversation_textview.py index 9025cd395..f595ad521 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -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