[chronojump] Missing on last commit



commit 729c555d8bb91be3beb2c5e29752944378cfdf2e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Sep 27 13:54:50 2021 +0200

    Missing on last commit

 src/gui/eventExecute.cs | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 69d62a7d9..da69212f7 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -2227,10 +2227,12 @@ public partial class ChronoJumpWindow
                        updateGraphRunsSimple ();
        }
 
-       private void on_check_run_simple_show_time_toggled (object o, EventArgs args)
+       private void on_check_run_show_time_toggled (object o, EventArgs args)
        {
-               //only is shown on run simple
-               updateGraphRunsSimple ();
+               if(current_mode == Constants.Modes.RUNSSIMPLE)
+                       updateGraphRunsSimple ();
+               else if(current_mode == Constants.Modes.RUNSINTERVALLIC)
+                       updateGraphRunsInterval ();
        }
 
        // <---- end of test simple controls -----


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