- fixed the new InputDialog widget to set its passed values in the constructor

This commit is contained in:
Marius Stanciu 2020-11-06 14:28:24 +02:00 committed by Marius
parent 61d8d1bba6
commit ec97e7470c
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,8 @@ CHANGELOG for FlatCAM beta
- in Gerber Editor made the selection multithreaded in a bid to get more performance but until Shapely will start working on vectorized geometry this don't yield too much improvement
- in Gerber Editor, for selection now the intersection of the click point and the geometry is determined for chunks of the original geometry, each chunk gets done in a separate process
- updated the French translation (by Olivier Cornet)
- fixed the new InputDialog widget to set its passed values in the constructor
5.11.2020

View File

@ -2250,6 +2250,9 @@ class FCInputDoubleSpinner(QtWidgets.QDialog):
self.text = text
self.wdg = FCDoubleSpinner()
self.wdg.set_precision(self.decimals)
self.wdg.set_range(self.min, self.max)
self.wdg.set_step(self.step)
self.wdg.set_value(self.init_value)
QBtn = QtWidgets.QDialogButtonBox.Ok | QtWidgets.QDialogButtonBox.Cancel