mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[processing] fix folding in the model
Earlier commit broke the update of lines when folding parameters in the modeler. This one fixes it again.
This commit is contained in:
parent
4e6394e213
commit
8c624a3452
@ -100,11 +100,15 @@ class ModelerGraphicItem(QGraphicsItem):
|
||||
pt = self.getLinkPointForOutput(-1)
|
||||
pt = QPointF(0, pt.y())
|
||||
self.outButton.position = pt
|
||||
for arrow in self.arrows:
|
||||
arrow.updatePath()
|
||||
self.update()
|
||||
|
||||
def foldOutput(self, folded):
|
||||
self.element.outputsFolded = folded
|
||||
self.prepareGeometryChange()
|
||||
for arrow in self.arrows:
|
||||
arrow.updatePath()
|
||||
self.update()
|
||||
|
||||
def addArrow(self, arrow):
|
||||
|
Loading…
x
Reference in New Issue
Block a user