[chronojump] On personChanged forceSensorAI graph is erased



commit 181c6e15e11f8c9a8a6459af51bf2a4b0db4673d
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Feb 11 15:36:33 2020 +0100

    On personChanged forceSensorAI graph is erased

 src/gui/app1/forceSensor.cs | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 26c9e1e9..8feafee1 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -429,6 +429,8 @@ public partial class ChronoJumpWindow
                button_delete_last_test.Sensitive = false;
                if(force_capture_drawingarea != null && force_capture_pixmap != null)
                        UtilGtk.ErasePaint(force_capture_drawingarea, force_capture_pixmap);
+               if(force_sensor_ai_drawingarea != null && force_sensor_ai_pixmap != null)
+                       UtilGtk.ErasePaint(force_sensor_ai_drawingarea, force_sensor_ai_pixmap);
 
                label_force_sensor_value_max.Text = "";
                label_force_sensor_value.Text = "";


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