Skip to content
Permalink
Browse files

[processing] [fixes #13034] Fix exception when editing model

  • Loading branch information
radosuav authored and slarosa committed Sep 14, 2015
1 parent 9d87c65 commit 2a260edba86821e6bb5e3429044a0822fc4d7ba0
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/ModelerGraphicItem.py
@@ -288,7 +288,7 @@ def getLinkPointForParameter(self, paramIndex):
return QPointF(-ModelerGraphicItem.BOX_WIDTH / 2 + offsetX, h)

def getLinkPointForOutput(self, outputIndex):
if isinstance(self.element, Algorithm):
if isinstance(self.element, Algorithm) and self.element.algorithm.outputs:
outputIndex = (outputIndex if not self.element.outputsFolded else -1)
text = self.getAdjustedText(self.element.algorithm.outputs[outputIndex].description)
font = QFont('Verdana', 8)

0 comments on commit 2a260ed

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