From e9a8c4b54089c1d439953afd83844689ce664494 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 3 Jun 2016 22:56:45 -0400 Subject: [PATCH] gui/entries: remove unneeded parent --- artiq/gui/entries.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/gui/entries.py b/artiq/gui/entries.py index 2eab00ad6..43e5054a0 100644 --- a/artiq/gui/entries.py +++ b/artiq/gui/entries.py @@ -214,8 +214,7 @@ class _ExplicitScan(LayoutWidget): float_regexp = r"(([+-]?\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?)" regexp = "(float)?( +float)* *".replace("float", float_regexp) - self.value.setValidator(QtGui.QRegExpValidator(QtCore.QRegExp(regexp), - self.value)) + self.value.setValidator(QtGui.QRegExpValidator(QtCore.QRegExp(regexp))) self.value.setText(" ".join([str(x) for x in state["sequence"]])) def update(text):