From 3c4cbff9f3ca9378bdbcb010790c8428947c9825 Mon Sep 17 00:00:00 2001 From: Sebastianw Wehling-Benatelli Date: Tue, 14 Jun 2016 14:56:15 +0200 Subject: [PATCH] [fix] do not try to add a Layout to a QWidget which already has one --- pylot/core/util/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 0004801c..a3c06869 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -82,7 +82,7 @@ class ComparisonDialog(QDialog): def setupUI(self): _outerlayout = QVBoxLayout(self) - _innerlayout = QVBoxLayout(self) + _innerlayout = QVBoxLayout() _stats_combobox = QComboBox(self) _stats_combobox.setObjectName('stationsComboBox')