[chronojump] Fix on last commits



commit 8f130a5ce93a839a8d4cdab6dfa454c75e54820e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jun 23 11:31:51 2020 +0200

    Fix on last commits

 src/gui/app1/chronojump.cs | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 3b32e576..faaf176b 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6466,7 +6466,12 @@ LogB.Debug("mc finished 5");
                        notebook_execute.CurrentPage = 4;
                        notebook_options_top.CurrentPage = 4; //but at FORCESENSOR this notebook is not shown 
until adjust button is clicked
                        notebook_results.CurrentPage = 4;
-                       changeTestImage("", "", "FORCESENSOR_NOT_ELASTIC"); //when click on adjust button we 
will check if elastic or not elastic and change icon
+
+                       if(button_force_sensor_stiffness.Visible)
+                               changeTestImage("", "", "FORCESENSOR_ELASTIC");
+                       else
+                               changeTestImage("", "", "FORCESENSOR_NOT_ELASTIC");
+
                        event_execute_button_finish.Sensitive = false;
                } else if(mode == Constants.Menuitem_modes.RT)
                {


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