forked from M-Labs/artiq
gui/entries: remove unneeded parent
This commit is contained in:
parent
3ddb1e4201
commit
404cf3524c
|
@ -214,8 +214,7 @@ class _ExplicitScan(LayoutWidget):
|
||||||
|
|
||||||
float_regexp = r"(([+-]?\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?)"
|
float_regexp = r"(([+-]?\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?)"
|
||||||
regexp = "(float)?( +float)* *".replace("float", float_regexp)
|
regexp = "(float)?( +float)* *".replace("float", float_regexp)
|
||||||
self.value.setValidator(QtGui.QRegExpValidator(QtCore.QRegExp(regexp),
|
self.value.setValidator(QtGui.QRegExpValidator(QtCore.QRegExp(regexp)))
|
||||||
self.value))
|
|
||||||
|
|
||||||
self.value.setText(" ".join([str(x) for x in state["sequence"]]))
|
self.value.setText(" ".join([str(x) for x in state["sequence"]]))
|
||||||
def update(text):
|
def update(text):
|
||||||
|
|
Loading…
Reference in New Issue