From abd8ae0e08bf70f2747498b48dcd60ed9a194913 Mon Sep 17 00:00:00 2001 From: kienle <kienle@passcal.nmt.edu> Date: Tue, 7 Jan 2025 10:18:37 -0700 Subject: [PATCH] Disable read all checkbox for RT130 channels --- sohstationviewer/view/db_config/channel_dialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sohstationviewer/view/db_config/channel_dialog.py b/sohstationviewer/view/db_config/channel_dialog.py index be76875f..8d12ebf3 100755 --- a/sohstationviewer/view/db_config/channel_dialog.py +++ b/sohstationviewer/view/db_config/channel_dialog.py @@ -98,6 +98,8 @@ class ChannelDialog(UiDBInfoDialog): lambda check_state: self.on_checkbox_toggle(bool(check_state.value), checkbox) ) + if self.data_type == 'RT130': + checkbox.setDisabled(True) self.data_table_widget.setCellWidget(row_idx, col_idx, checkbox) return checkbox -- GitLab