From 404cf3524cfc1b4adf99072f1d07e73f5b059a3b 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 575f2de3d..0581eda60 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):