Skip to content

Commit 513bea9

Browse files
committed
Bug fixed
1 parent 40600ee commit 513bea9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

iquip/apps/builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,14 +730,14 @@ def update(value):
730730
731731
Once the value at value SpinBox changed, this is called.
732732
"""
733-
state['value'] = value*scale
733+
state["value"] = value*scale
734734

735735
def update_repetitions(value):
736736
"""Updates the current repetition number at _NoScan argument.
737737
738738
Once the number at repetitions SpinBox changed, this is called.
739739
"""
740-
state["repetitons"] = value
740+
state["repetitions"] = value
741741

742742
value.valueChanged.connect(update)
743743
repetitions.valueChanged.connect(update_repetitions)
@@ -1001,7 +1001,7 @@ def update(text):
10011001
10021002
Once the text in QLineEdit edited, this is called.
10031003
"""
1004-
if self.value.hasAcceptableInput():
1004+
if value.hasAcceptableInput():
10051005
state["sequence"] = [float(x) for x in text.split()]
10061006
value.textEdited.connect(update)
10071007

0 commit comments

Comments
 (0)