[chronojump] instantaneous all_set only on current_set (1st mode)



commit 61fc139cf22a3dbe68b80764c9e309a21b24174f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sun Apr 29 02:13:03 2018 +0200

    instantaneous all_set only on current_set (1st mode)

 src/gui/encoder.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index b2cd085..f3e9667 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -3081,6 +3081,8 @@ public partial class ChronoJumpWindow
                radiobutton_encoder_analyze_single.Visible = true;
                radiobutton_encoder_analyze_side.Visible = true;
                radiobutton_encoder_analyze_superpose.Visible = true;
+               radiobutton_encoder_analyze_all_set.Visible = true;
+
                radiobutton_encoder_analyze_neuromuscular_profile.Visible = (currentEncoderGI == 
Constants.EncoderGI.GRAVITATORY);
 
                check_encoder_analyze_eccon_together.Sensitive = true;
@@ -3125,6 +3127,12 @@ public partial class ChronoJumpWindow
                radiobutton_encoder_analyze_single.Visible = true;
                radiobutton_encoder_analyze_side.Visible = true;
                radiobutton_encoder_analyze_superpose.Visible = true;
+
+               //all_set only available on current signal mode
+               if(radiobutton_encoder_analyze_all_set.Active)
+                       radiobutton_encoder_analyze_single.Active = true;
+               radiobutton_encoder_analyze_all_set.Visible = false;
+
                radiobutton_encoder_analyze_neuromuscular_profile.Visible = (currentEncoderGI == 
Constants.EncoderGI.GRAVITATORY);
 
                check_encoder_analyze_eccon_together.Sensitive = true;
@@ -3377,6 +3385,11 @@ public partial class ChronoJumpWindow
                //restore 1RM Bench Press sensitiveness
                check_encoder_analyze_mean_or_max.Sensitive = true;
 
+               //all_set only available on current signal mode
+               if(! radio_encoder_analyze_individual_current_set.Active && 
radiobutton_encoder_analyze_all_set.Active)
+                       radiobutton_encoder_analyze_single.Active = true;
+               radiobutton_encoder_analyze_all_set.Visible = 
radio_encoder_analyze_individual_current_set.Active;
+
                //4 radiobuttons
                if(radiobutton_encoder_analyze_single.Active)
                        encoder_instantaneous_gui("single");


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