[chronojump/optimizeRFD] Minor changed: Renamed wrongly named preferences raceAnalyzer widgets



commit 6477eda03c14838007ac477d1718879214168293
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Dec 31 13:11:06 2020 +0100

    Minor changed: Renamed wrongly named preferences raceAnalyzer widgets

 glade/preferences_win.glade | 6 +++---
 src/gui/preferences.cs      | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/glade/preferences_win.glade b/glade/preferences_win.glade
index ddb41aa21..0a900f27e 100644
--- a/glade/preferences_win.glade
+++ b/glade/preferences_win.glade
@@ -5056,12 +5056,12 @@ It starts before and arrives there with some speed.</property>
                                         <property name="can_focus">False</property>
                                         <property name="spacing">20</property>
                                         <child>
-                                          <widget class="GtkHBox" id="hbox_force_sensor_acceleration_start">
+                                          <widget class="GtkHBox" id="hbox_run_encoder_acceleration_start">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="spacing">6</property>
                                             <child>
-                                              <widget class="GtkLabel" id="label_force_sensor_acceleration">
+                                              <widget class="GtkLabel" id="label_run_encoder_acceleration">
                                                 <property name="visible">True</property>
                                                 <property name="can_focus">False</property>
                                                 <property name="label" translatable="yes">Minimum 
acceleration</property>
@@ -5073,7 +5073,7 @@ It starts before and arrives there with some speed.</property>
                                               </packing>
                                             </child>
                                             <child>
-                                              <widget class="GtkSpinButton" 
id="spin_force_sensor_acceleration">
+                                              <widget class="GtkSpinButton" 
id="spin_run_encoder_acceleration">
                                                 <property name="visible">True</property>
                                                 <property name="can_focus">True</property>
                                                 <property name="invisible_char">●</property>
diff --git a/src/gui/preferences.cs b/src/gui/preferences.cs
index cd9d2662b..686d951d6 100644
--- a/src/gui/preferences.cs
+++ b/src/gui/preferences.cs
@@ -187,7 +187,7 @@ public class PreferencesWindow
        [Widget] Gtk.SpinButton spin_force_sensor_analyze_ab_slider_increment;
 
        //runEncoder tab
-       [Widget] Gtk.SpinButton spin_force_sensor_acceleration;
+       [Widget] Gtk.SpinButton spin_run_encoder_acceleration;
 
        //multimedia tab
        [Widget] Gtk.CheckButton checkbutton_volume;
@@ -735,7 +735,7 @@ public class PreferencesWindow
                PreferencesWindowBox.spin_force_sensor_analyze_ab_slider_increment.Value = 
preferences.forceSensorAnalyzeABSliderIncrement;
 
                //runEncoder -->
-               PreferencesWindowBox.spin_force_sensor_acceleration.Value = preferences.runEncoderMinAccel;
+               PreferencesWindowBox.spin_run_encoder_acceleration.Value = preferences.runEncoderMinAccel;
 
                //language -->
                if(preferences.language == "")
@@ -2156,7 +2156,7 @@ public class PreferencesWindow
                preferences.runEncoderMinAccel = Preferences.PreferencesChange(
                                SqlitePreferences.RunEncoderMinAccel,
                                preferences.runEncoderMinAccel,
-                               Convert.ToDouble(spin_force_sensor_acceleration.Value));
+                               Convert.ToDouble(spin_run_encoder_acceleration.Value));
 
                //multimedia ----
                if( preferences.volumeOn != PreferencesWindowBox.checkbutton_volume.Active ) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]