Salome HOME
BUG: Yams plug-in: Small bug fix, validator number of decimal for chordal deviation...
authorrnc <rnc@opencascade.com>
Tue, 3 Dec 2013 15:39:14 +0000 (15:39 +0000)
committerrnc <rnc@opencascade.com>
Tue, 3 Dec 2013 15:39:14 +0000 (15:39 +0000)
src/Tools/YamsPlug/monYamsPlugDialog.py

index 44cce78ca85eb0abf762ec71f5cb46cef81fc9c2..6db2a8f47222a83039160001d3c34c2ed749d2a2 100644 (file)
@@ -76,7 +76,7 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget):
     v1=QDoubleValidator(self)
     v1.setBottom(0.)
     #v1.setTop(1000.) #per thousand... only if relative
-    v1.setDecimals(2)
+    v1.setDecimals(3)
     self.SP_Tolerance.setValidator(v1)
     self.SP_Tolerance.titleForWarning="Chordal Tolerance"