- added a new parameter named 'End Move X,Y' for the Geometry and Excellon objects. Adding a tuple of coordinates in this field will control the X,Y position of the final move; not entering a value there will cause not to make an end move
This commit is contained in:
@@ -444,6 +444,8 @@ class FCEntry(QtWidgets.QLineEdit):
|
||||
decimal_digits = decimals if decimals is not None else self.decimals
|
||||
if type(val) is float:
|
||||
self.setText('%.*f' % (decimal_digits, val))
|
||||
elif val is None:
|
||||
self.setText('')
|
||||
else:
|
||||
self.setText(str(val))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user