Skip to content

Commit

Permalink
[Processing] Fix exception on right click ToolboxAction (#3347)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1da60c5)
  • Loading branch information
radosuav authored and jef-n committed Mar 7, 2017
1 parent e543ff4 commit 610976a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/ProcessingToolbox.py
Expand Up @@ -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)
Expand Down

0 comments on commit 610976a

Please sign in to comment.