[chronojump] Force sensor RFD fail showing image, sometimes older image was shown. Fixed.



commit 48c3b7e5daa47c35e6fd124b7ac3e61836139f59
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Nov 20 16:50:46 2020 +0100

    Force sensor RFD fail showing image, sometimes older image was shown. Fixed.

 src/gui/app1/forceSensor.cs | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 069b50bf..4937aafd 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -2105,6 +2105,9 @@ LogB.Information(" fs R ");
                                Catalog.GetString("Probably not sustained force.");
                        label_force_sensor_analyze.Visible = true;
 
+                       image_force_sensor_graph.Visible = false;
+                       button_force_sensor_image_save_rfd_auto.Sensitive = false;
+
                        return;
                }
                label_force_sensor_analyze.Visible = false;
@@ -2116,6 +2119,7 @@ LogB.Information(" fs R ");
                                imagePath,
                                image_force_sensor_graph);
                image_force_sensor_graph.Sensitive = true;
+               image_force_sensor_graph.Visible = true;
                button_force_sensor_image_save_rfd_auto.Sensitive = true;
        }
 


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