bugfixes-01012024 #197

Merged
dominik merged 7 commits from bugfixes-01012024 into master 2024-01-02 10:10:49 +00:00
Showing only changes of commit c8afb2441f - Show all commits

View File

@ -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}')