We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb91670 commit 458b715Copy full SHA for 458b715
qt/python/mantidqtinterfaces/mantidqtinterfaces/SampleTransmissionCalculator/stc_view.py
@@ -43,9 +43,10 @@ def __init__(self, parent=None):
43
def _double_spinbox_textChanged(self, text):
44
if "," in text:
45
text = text.replace(",", ".")
46
- text = text.replace("..", ".")
47
oldState = self.sender().blockSignals(True)
+ self.isEditing = True
48
self.sender().setValue(float(text))
49
+ self.sender().lineEdit().setText(f"{self.sender().value():.1f}")
50
self.sender().blockSignals(oldState)
51
52
def get_input_dict(self):
0 commit comments