Skip to content

Commit 1da60c5

Browse files
radosuavm-kuhn
authored andcommitted
[Processing] Fix exception on right click ToolboxAction (#3347)
1 parent ecf5543 commit 1da60c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/gui/ProcessingToolbox.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ def _providerItem(self, providerName):
180180

181181
def showPopupMenu(self, point):
182182
item = self.algorithmTree.itemAt(point)
183+
popupmenu = QMenu()
183184
if isinstance(item, TreeAlgorithmItem):
184185
alg = item.alg
185-
popupmenu = QMenu()
186186
executeAction = QAction(self.tr('Execute'), self.algorithmTree)
187187
executeAction.triggered.connect(self.executeAlgorithm)
188188
popupmenu.addAction(executeAction)

0 commit comments

Comments
 (0)