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

Reorder context menu in wot

parent 55415f6c
No related branches found
No related tags found
No related merge requests found
......@@ -238,18 +238,18 @@ class Node(QGraphicsEllipseItem):
"""
# create node context menus
self.menu = QMenu()
# action sign identity
self.action_sign = QAction('Certify identity', self.scene())
self.menu.addAction(self.action_sign)
self.action_sign.triggered.connect(self.sign_action)
# action transaction toward identity
self.action_transaction = QAction('Send money', self.scene())
self.menu.addAction(self.action_transaction)
self.action_transaction.triggered.connect(self.transaction_action)
# action add identity as contact
self.action_contact = QAction('Add as contact', self.scene())
self.menu.addAction(self.action_contact)
self.action_contact.triggered.connect(self.contact_action)
# action transaction toward identity
self.action_transaction = QAction('Send money', self.scene())
self.menu.addAction(self.action_transaction)
self.action_transaction.triggered.connect(self.transaction_action)
# action sign identity
self.action_sign = QAction('Certify identity', self.scene())
self.menu.addAction(self.action_sign)
self.action_sign.triggered.connect(self.sign_action)
# run menu
self.menu.exec(event.screenPos())
......
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