Skip to content

Commit

Permalink
[Processing] Fix exception on right click ToolboxAction (#3347)
Browse files Browse the repository at this point in the history
  • Loading branch information
radosuav authored and m-kuhn committed Jul 31, 2016
1 parent ecf5543 commit 1da60c5
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 1da60c5

Please sign in to comment.