[chronojump] improvement mode 2



commit c883a56eef34bf5f81c4c481d34b896020ab4d45
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue May 17 17:59:34 2016 +0200

    improvement mode 2

 src/gui/encoderSelectRepetitions.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoderSelectRepetitions.cs b/src/gui/encoderSelectRepetitions.cs
index 914d3ce..81ba9e7 100644
--- a/src/gui/encoderSelectRepetitions.cs
+++ b/src/gui/encoderSelectRepetitions.cs
@@ -238,11 +238,15 @@ public class EncoderSelectRepetitionsIndividualCurrentSession : EncoderSelectRep
        
        protected override void createGenericWindow() 
        {
-               //add exercises to the combo (only the exercises done, and only unique)
+               /*
+                * Disabled because combo exercise is selected before (not on genericWin)
+                *
+               add exercises to the combo (only the exercises done, and only unique)
                ArrayList encoderExercisesNames = new ArrayList();
                foreach(EncoderSQL es in data) {
                        encoderExercisesNames = Util.AddToArrayListIfNotExist(encoderExercisesNames, 
Catalog.GetString(es.exerciseName));
                }
+               */
                
                genericWin = GenericWindow.Show(false,  //don't show now
                                string.Format(Catalog.GetString("Saved repetitions of athlete {0} on this 
session."), 
@@ -254,7 +258,7 @@ public class EncoderSelectRepetitionsIndividualCurrentSession : EncoderSelectRep
                genericWin.SetTreeview(columnsString, true, dataPrint, new ArrayList(), 
Constants.ContextMenu.EDITDELETE, false);
 
                genericWin.ResetComboCheckBoxesOptions();
-               genericWin.AddOptionsToComboCheckBoxesOptions(encoderExercisesNames);
+               //genericWin.AddOptionsToComboCheckBoxesOptions(encoderExercisesNames);
                genericWin.CreateComboCheckBoxes();
 
                genericWin.MarkActiveCurves(checkboxes);


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