[chronojump] RepetitiveConditions "Main variable" shown only on encoder



commit 4bca1f8f3c13dc719769ab5ec1a0c17caaa5cba5
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Apr 27 17:30:10 2018 +0200

    RepetitiveConditions "Main variable" shown only on encoder

 src/gui/repetitiveConditions.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/repetitiveConditions.cs b/src/gui/repetitiveConditions.cs
index c6d76a4..53c8085 100644
--- a/src/gui/repetitiveConditions.cs
+++ b/src/gui/repetitiveConditions.cs
@@ -34,6 +34,7 @@ public class RepetitiveConditionsWindow
        [Widget] Gtk.Box hbox_jump_best_worst;
        [Widget] Gtk.Box hbox_run_best_worst;
        
+       [Widget] Gtk.VBox vbox_encoder_stuff;
        [Widget] Gtk.Frame frame_conditions;
 
        /* jumps */     
@@ -257,6 +258,7 @@ public class RepetitiveConditionsWindow
                vbox_encoder_manual.Hide();
                notebook_encoder_conditions.Hide();
                checkbutton_inertial_discard_first_three.Hide();
+               vbox_encoder_stuff.Hide();
 
                notebook_main.GetNthPage(RHYTHMPAGE).Hide();
                notebook_main.ShowTabs = false;
@@ -272,6 +274,7 @@ public class RepetitiveConditionsWindow
                        hbox_run_conditions.Show();
                        frame_conditions.Show();
                } else { //encoder (grav and inertial)
+                       vbox_encoder_stuff.Show();
                        frame_encoder_automatic_conditions.Show();
                        notebook_main.ShowTabs = true;
 


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