[fix] do not try to add a Layout to a QWidget which already has one

This commit is contained in:
Sebastian Wehling-Benatelli 2016-06-14 14:56:15 +02:00
parent 78ebb1f8db
commit 3c4cbff9f3

View File

@ -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')