Skip to content
Permalink
Browse files

[Processing] Fix exception on right click ToolboxAction (#3347)

  • Loading branch information
radosuav authored and m-kuhn committed Jul 31, 2016
1 parent ecf5543 commit 1da60c530d2ab008b4f31bec8a68a4f8c1a05703
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/ProcessingToolbox.py
@@ -180,9 +180,9 @@ def _providerItem(self, providerName):

def showPopupMenu(self, point):
item = self.algorithmTree.itemAt(point)
popupmenu = QMenu()
if isinstance(item, TreeAlgorithmItem):
alg = item.alg
popupmenu = QMenu()
executeAction = QAction(self.tr('Execute'), self.algorithmTree)
executeAction.triggered.connect(self.executeAlgorithm)
popupmenu.addAction(executeAction)

0 comments on commit 1da60c5

Please sign in to comment.
You can’t perform that action at this time.