forked from M-Labs/artiq
1
0
Fork 0

gui/experiments: fix StringEntry update

This commit is contained in:
Sebastien Bourdeauducq 2015-12-06 17:21:53 +08:00
parent 3edf52232c
commit 1cba685326
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class _StringEntry(QtGui.QLineEdit):
QtGui.QLineEdit.__init__(self)
self.setText(argument["state"])
def update(text):
argument["state"] = text()
argument["state"] = text
self.textEdited.connect(update)
@staticmethod