From 7c3a30ddb1472568bd2c89e5d93eba2ab16e0664 Mon Sep 17 00:00:00 2001 From: destinyk <destiny.kuehn@student.nmt.edu> Date: Fri, 1 Mar 2024 13:44:12 -0700 Subject: [PATCH] remove sensor cb from copy type/gain and vice versa --- nexus/StationSelectDialog.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nexus/StationSelectDialog.py b/nexus/StationSelectDialog.py index 4209f591..1c252454 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 -- GitLab