We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0293dc commit df07772Copy full SHA for df07772
python/plugins/processing/modeler/ModelerDialog.py
@@ -522,7 +522,7 @@ def getPositionForParameterItem(self):
522
MARGIN = 20
523
BOX_WIDTH = 200
524
BOX_HEIGHT = 80
525
- if len(self.model.parameterComponents() > 0):
+ if len(self.model.parameterComponents()) > 0:
526
maxX = max([i.position().x() for i in list(self.model.parameterComponents().values())])
527
newX = min(MARGIN + BOX_WIDTH + maxX, self.CANVAS_SIZE - BOX_WIDTH)
528
else:
0 commit comments