Skip to content

Commit

Permalink
Merge pull request #4115 from JAndersM/patch-1
Browse files Browse the repository at this point in the history
[Draft] Update task_scale.py
  • Loading branch information
yorikvanhavre committed Dec 14, 2020
2 parents cbcf45a + 8620d77 commit dd580a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Draft/drafttaskpanels/task_scale.py
Expand Up @@ -53,21 +53,21 @@ def __init__(self):
layout.addWidget(self.xLabel, 0, 0, 1, 1)
self.xValue = QtGui.QDoubleSpinBox()
self.xValue.setRange(0.0000001, 1000000.0)
self.xValue.setDecimals(Draft.getParam("precision"))
self.xValue.setDecimals(Draft.precision())
self.xValue.setValue(1)
layout.addWidget(self.xValue,0,1,1,1)
self.yLabel = QtGui.QLabel()
layout.addWidget(self.yLabel,1,0,1,1)
self.yValue = QtGui.QDoubleSpinBox()
self.yValue.setRange(.0000001,1000000.0)
self.yValue.setDecimals(Draft.getParam("precision"))
self.yValue.setDecimals(Draft.precision())
self.yValue.setValue(1)
layout.addWidget(self.yValue,1,1,1,1)
self.zLabel = QtGui.QLabel()
layout.addWidget(self.zLabel,2,0,1,1)
self.zValue = QtGui.QDoubleSpinBox()
self.zValue.setRange(.0000001,1000000.0)
self.zValue.setDecimals(Draft.getParam("precision"))
self.zValue.setDecimals(Draft.precision())
self.zValue.setValue(1)
layout.addWidget(self.zValue,2,1,1,1)
self.lock = QtGui.QCheckBox()
Expand Down

0 comments on commit dd580a4

Please sign in to comment.