more work
This commit is contained in:
parent
5ad6456b16
commit
c8afb2441f
@ -34,9 +34,9 @@ class SciSpinBox(QtWidgets.QDoubleSpinBox):
|
|||||||
|
|
||||||
new_value = self._prev_value
|
new_value = self._prev_value
|
||||||
if new_value != 0.0:
|
if new_value != 0.0:
|
||||||
new_value *= 10**(step/19.)
|
new_value *= 10**(step/99.)
|
||||||
else:
|
else:
|
||||||
new_value = 0.001
|
new_value = 0.00001
|
||||||
|
|
||||||
self.setValue(new_value)
|
self.setValue(new_value)
|
||||||
self.lineEdit().setText(f'{new_value:.3e}')
|
self.lineEdit().setText(f'{new_value:.3e}')
|
||||||
|
Loading…
Reference in New Issue
Block a user