forked from M-Labs/artiq
gui/experiments: fix StringEntry update
This commit is contained in:
parent
3edf52232c
commit
1cba685326
|
@ -19,7 +19,7 @@ class _StringEntry(QtGui.QLineEdit):
|
||||||
QtGui.QLineEdit.__init__(self)
|
QtGui.QLineEdit.__init__(self)
|
||||||
self.setText(argument["state"])
|
self.setText(argument["state"])
|
||||||
def update(text):
|
def update(text):
|
||||||
argument["state"] = text()
|
argument["state"] = text
|
||||||
self.textEdited.connect(update)
|
self.textEdited.connect(update)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue