Skip to content
Snippets Groups Projects
Commit e3805d93 authored by Vincent Texier's avatar Vincent Texier
Browse files

Wot view : disable context menu on wallet node

parent 94412310
No related branches found
No related tags found
No related merge requests found
......@@ -241,9 +241,13 @@ class Node(QGraphicsEllipseItem):
def contextMenuEvent(self, event: QGraphicsSceneContextMenuEvent):
"""
Right click on node to show node menu
Except on wallet node
:param event: scene context menu event
"""
# no menu on the wallet node
if self.status_wallet:
return None
# create node context menus
self.menu = QMenu()
# action add identity as contact
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment