[chronojump] ForceSensor AI graph not shown on change person and resize/change radios



commit 64c618308ea71c71420a137ae3c71e56853d24c5
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Feb 17 12:47:53 2020 +0100

    ForceSensor AI graph not shown on change person and resize/change radios

 src/gui/app1/forceSensor.cs | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 685a8596..87dd2424 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -433,6 +433,14 @@ public partial class ChronoJumpWindow
        {
                currentForceSensor = new ForceSensor();
 
+               /*
+                * without this, on change person fsAI graph will blank
+                * but first makes no graph when resize,
+                * and second does not allow the graph to be done on going to RFD automatic and return
+                */
+               fsAI = null;
+               lastForceSensorFullPath = null;
+
                button_contacts_recalculate.Sensitive = false;
                textview_contacts_signal_comment.Buffer.Text = "";
                notebook_force_sensor_analyze.Sensitive = false;


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