[chronojump] ForceSensor AI graph redrawn on prefernces accept
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor AI graph redrawn on prefernces accept
- Date: Sat, 15 Feb 2020 17:12:47 +0000 (UTC)
commit 5bdf1272b95228dce4da07211bbfb191585897c5
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Feb 15 18:11:15 2020 +0100
ForceSensor AI graph redrawn on prefernces accept
src/gui/app1/chronojump.cs | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 7eacc1b5..468f89ac 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -3053,6 +3053,12 @@ public partial class ChronoJumpWindow
pen_black_force_capture.SetLineAttributes (preferences.forceSensorGraphsLineWidth,
Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
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)
+ forceSensorDoGraphAI();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]