forked from IPKM/nmreval
set cursor position manually in fit data parameter; closes #153
This commit is contained in:
parent
c7a21c72f2
commit
412708cecd
@ -343,6 +343,7 @@ class ParameterSingleWidget(QtWidgets.QWidget):
|
|||||||
def value(self, val):
|
def value(self, val):
|
||||||
# self.value_line.setText(f'{float(val):.5g}')
|
# self.value_line.setText(f'{float(val):.5g}')
|
||||||
self.value_line.setText(f'{val}')
|
self.value_line.setText(f'{val}')
|
||||||
|
self.value_line.setCursorPosition(0)
|
||||||
|
|
||||||
def show_as_local_parameter(self, is_local: bool):
|
def show_as_local_parameter(self, is_local: bool):
|
||||||
if is_local:
|
if is_local:
|
||||||
|
Loading…
Reference in New Issue
Block a user