[chronojump] 4 analyze modes and code reorganization (96%)



commit 45619252b7a34d9163c112587386f03e9d848bce
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri May 13 17:38:14 2016 +0200

    4 analyze modes and code reorganization (96%)

 src/gui/encoder.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 8761475..2d38951 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -3602,8 +3602,7 @@ public partial class ChronoJumpWindow
                                label_encoder_analyze_side_max.Visible = ! analyze_sensitive;
                        }
                } else {
-                       analyze_sensitive = (currentPerson != null && 
-                                       UtilGtk.ComboGetActive(combo_encoder_analyze_curve_num_combo) != "");
+                       analyze_sensitive = (currentPerson != null && encSelReps.RepsActive > 0);
                        if(analyze_sensitive && radiobutton_encoder_analyze_side.Active) {
                                analyze_sensitive = curvesNumOkToSideCompare();
                                label_encoder_analyze_side_max.Visible = ! analyze_sensitive;


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