[chronojump] Better signals or JumpsRjFatigue



commit fc3c31a2f927725cbfc8456aee87f64a49764886
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Aug 17 18:29:28 2020 +0100

    Better signals or JumpsRjFatigue

 src/gui/app1/chronojump.cs | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 3bc79898..fad8556a 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -1219,7 +1219,7 @@ public partial class ChronoJumpWindow
                                        (currentJumpRjType.HasWeight && 
extra_window_jumps_rj_radiobutton_weight.Active));
 
                        if(notebook_analyze.CurrentPage == 
Convert.ToInt32(notebook_analyze_pages.JUMPSRJFATIGUE))
-                               createComboSelectJumpsRjFatigue (false);
+                               createComboSelectJumpsRjFatigueNum (false);
                }
                else if(current_menuitem_mode == Constants.Menuitem_modes.RUNSSIMPLE)
                        updateGraphRunsSimple();
@@ -7082,6 +7082,13 @@ LogB.Debug("mc finished 5");
                                {
                                        notebook_analyze.CurrentPage = 
Convert.ToInt32(notebook_analyze_pages.JUMPSRJFATIGUE);
                                        createComboSelectJumpsRjFatigue (false);
+
+                                       //Active should be the same than on capture tab
+                                       combo_select_jumps_rj_fatigue.Active = combo_select_jumps_rj.Active;
+
+                                       //Active should be the last one to see the correct test after a 
capture
+                                       if(comboSelectJumpsRjFatigueNum.Count > 0)
+                                               combo_select_jumps_rj_fatigue_num.Active = 
comboSelectJumpsRjFatigueNum.Count -1;
                                }
                        }
                }


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