mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-24 00:05:18 -05:00
[processing] [fixes #13034] Fix exception when editing model
This commit is contained in:
parent
9d87c65614
commit
2a260edba8
@ -288,7 +288,7 @@ class ModelerGraphicItem(QGraphicsItem):
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user