[chronojump] forceSensorDoGraphAI updated on preferences accept, even on capture tab



commit 84b5f1badd4d83d81b4e3f9b29487f20c5f36dab
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Feb 15 19:17:28 2020 +0100

    forceSensorDoGraphAI updated on preferences accept, even on capture tab

 src/gui/app1/chronojump.cs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 468f89ac..336855ae 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -3054,10 +3054,8 @@ public partial class ChronoJumpWindow
                if(pen_black_force_ai != null)
                        pen_black_force_ai.SetLineAttributes (preferences.forceSensorGraphsLineWidth, 
Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
 
-               // update force_capture_drawingarea if repetitions criteria changed
-               if(current_menuitem_mode == Constants.Menuitem_modes.FORCESENSOR &&
-                               notebook_capture_analyze.CurrentPage == 1 &&
-                               radiobutton_force_sensor_analyze_manual.Active)
+               // update force_capture_drawingarea
+               if(current_menuitem_mode == Constants.Menuitem_modes.FORCESENSOR && 
radiobutton_force_sensor_analyze_manual.Active)
                        forceSensorDoGraphAI();
        }
 


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