From 901b40974004c10e954172f2ac0c767c92d13b0a Mon Sep 17 00:00:00 2001
From: Martin Killenberg <martin.killenberg@desy.de>
Date: Tue, 7 Nov 2023 16:59:31 +0100
Subject: [PATCH] fix: checkbox names in GUI

---
 Python_script/climate-lab-main.ui | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Python_script/climate-lab-main.ui b/Python_script/climate-lab-main.ui
index 9f90c66..c3055ae 100644
--- a/Python_script/climate-lab-main.ui
+++ b/Python_script/climate-lab-main.ui
@@ -390,9 +390,9 @@
            </property>
            <layout class="QVBoxLayout" name="verticalLayout_5">
             <item>
-             <widget class="QCheckBox" name="removeOffsetsSignal1">
+             <widget class="QCheckBox" name="removeOffsetsSignal0">
               <property name="text">
-               <string>Signal 1</string>
+               <string>Signal 0</string>
               </property>
               <property name="checked">
                <bool>true</bool>
@@ -400,9 +400,9 @@
              </widget>
             </item>
             <item>
-             <widget class="QCheckBox" name="removeOffsetsSignal2">
+             <widget class="QCheckBox" name="removeOffsetsSignal1">
               <property name="text">
-               <string>Signal 2</string>
+               <string>Signal 1</string>
               </property>
              </widget>
             </item>
@@ -534,7 +534,7 @@
   <connection>
    <sender>analysisTypeCableButton</sender>
    <signal>toggled(bool)</signal>
-   <receiver>removeOffsetsSignal1</receiver>
+   <receiver>removeOffsetsSignal0</receiver>
    <slot>setChecked(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-- 
GitLab