Skip to content
Snippets Groups Projects
Commit 7c3a30dd authored by Destiny Kuehn's avatar Destiny Kuehn Committed by Maeva Pourpoint
Browse files

remove sensor cb from copy type/gain and vice versa

parent 35c66815
No related branches found
No related tags found
1 merge request!27Fix to issue 34: Allow user to copy datalogger type, gain and sensor type to other stations
...@@ -62,8 +62,12 @@ class StationSelectDialog(*load_ui('StationSelectDialog.ui')): ...@@ -62,8 +62,12 @@ class StationSelectDialog(*load_ui('StationSelectDialog.ui')):
if self.copy == 'type & gain': if self.copy == 'type & gain':
self.typeCB.setChecked(True) self.typeCB.setChecked(True)
self.gainCB.setChecked(True) self.gainCB.setChecked(True)
self.sensorCB.setParent(None)
else: else:
self.sensorCB.setChecked(True) self.sensorCB.setChecked(True)
self.typeCB.setParent(None)
self.gainCB.setParent(None)
self.tableWidget.setRowCount(len(self.stations)) self.tableWidget.setRowCount(len(self.stations))
self.tableWidget.horizontalHeader().sectionClicked.connect(self.sort_table) self.tableWidget.horizontalHeader().sectionClicked.connect(self.sort_table)
# Add stations to table # Add stations to table
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment