Skip to content
Permalink
Browse files
[processing] fix folding in the model
Earlier commit broke the update of lines when folding  parameters in the
modeler. This one fixes it again.
  • Loading branch information
HenningJagd committed May 22, 2015
1 parent 4e6394e commit 8c624a3452b56a001256205790bc2f8a996998b9
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/modeler/ModelerGraphicItem.py
@@ -100,11 +100,15 @@ def foldInput(self, folded):
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):

0 comments on commit 8c624a3

Please sign in to comment.