[chronojump] JumpsProfile only shown on jumps



commit 29bfb602461048106f1006606bcc98b08aa6f295
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jul 7 00:38:12 2016 +0200

    JumpsProfile only shown on jumps

 src/gui/chronojump.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index fd21e8c..dc26720 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3070,12 +3070,14 @@ public partial class ChronoJumpWindow
                        notebook_sup_contacts.CurrentPage = 0;
                        menuitem_mode_selected_jumps.Visible = true;
                        radio_mode_jumps_small.Active = true;
+                       notebook_capture_analyze.GetNthPage(2).Show(); //show jumpsProfile on jumps
                } else if(m == Constants.Menuitem_modes.RUNS) 
                {
                        notebook_sup.CurrentPage = 0;
                        notebook_sup_contacts.CurrentPage = 1;
                        menuitem_mode_selected_runs.Visible = true;
                        radio_mode_runs_small.Active = true;
+                       notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on runs
                } else if(m == Constants.Menuitem_modes.POWERGRAVITATORY || m == 
Constants.Menuitem_modes.POWERINERTIAL) 
                {
                        menuitem_encoder_session_overview.Visible = true;
@@ -3138,6 +3140,7 @@ public partial class ChronoJumpWindow
                        notebook_sup_contacts.CurrentPage = 2;
                        menuitem_mode_selected_other.Visible = true;
                        radio_mode_reaction_times_small.Active = true;
+                       notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on other tests
                }
 
                //show the program


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