- 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

@@ -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