Skip to content
Permalink
Browse files

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

(cherry picked from commit 1da60c5)
  • Loading branch information
radosuav authored and jef-n committed Mar 7, 2017
1 parent e543ff4 commit 610976ab3d43d839a4fbd56a1e36d4202e41c647
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 610976a

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