File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -730,14 +730,14 @@ def update(value):
730
730
731
731
Once the value at value SpinBox changed, this is called.
732
732
"""
733
- state [' value' ] = value * scale
733
+ state [" value" ] = value * scale
734
734
735
735
def update_repetitions (value ):
736
736
"""Updates the current repetition number at _NoScan argument.
737
737
738
738
Once the number at repetitions SpinBox changed, this is called.
739
739
"""
740
- state ["repetitons " ] = value
740
+ state ["repetitions " ] = value
741
741
742
742
value .valueChanged .connect (update )
743
743
repetitions .valueChanged .connect (update_repetitions )
@@ -1001,7 +1001,7 @@ def update(text):
1001
1001
1002
1002
Once the text in QLineEdit edited, this is called.
1003
1003
"""
1004
- if self . value .hasAcceptableInput ():
1004
+ if value .hasAcceptableInput ():
1005
1005
state ["sequence" ] = [float (x ) for x in text .split ()]
1006
1006
value .textEdited .connect (update )
1007
1007
You can’t perform that action at this time.
0 commit comments