diff --git a/nexus/StationSelectDialog.py b/nexus/StationSelectDialog.py index 4209f591be1342292aeb1f681917e86fbcdecf57..1c25245405dc4ba250c8160241205434c8d4ce56 100644 --- a/nexus/StationSelectDialog.py +++ b/nexus/StationSelectDialog.py @@ -62,8 +62,12 @@ class StationSelectDialog(*load_ui('StationSelectDialog.ui')): if self.copy == 'type & gain': self.typeCB.setChecked(True) self.gainCB.setChecked(True) + self.sensorCB.setParent(None) else: self.sensorCB.setChecked(True) + self.typeCB.setParent(None) + self.gainCB.setParent(None) + self.tableWidget.setRowCount(len(self.stations)) self.tableWidget.horizontalHeader().sectionClicked.connect(self.sort_table) # Add stations to table