[chronojump] Do not allow to press results table buttons while jump/run capture



commit b70f9b2fcd84046f213569d9c942376dfe5edf0f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon May 31 16:14:46 2021 +0200

    Do not allow to press results table buttons while jump/run capture

 src/gui/app1/chronojump.cs | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 4ff21a101..a0e7373fb 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -7803,7 +7803,10 @@ LogB.Debug("mc finished 5");
                hbox_other_mc.Sensitive = false;
                hbox_other_pulses.Sensitive = false;
                sensitiveLastTestButtons(false);
-               
+
+               //do not allow to touch buttons on show table
+               notebook_results.Sensitive = false;
+
                button_activate_chronopics.Sensitive = false;
                button_activate_chronopics_encoder.Sensitive = false;
                alignment_button_threshold.Sensitive = false;
@@ -7863,7 +7866,10 @@ LogB.Debug("mc finished 5");
                hbox_other_mc.Sensitive = true;
                hbox_other_pulses.Sensitive = true;
                //hbox_multi_chronopic_buttons.Sensitive = true;
-               
+
+               //allow to touch buttons on show table
+               notebook_results.Sensitive = true;
+
                button_activate_chronopics.Sensitive = true;
 
                if(! configChronojump.Compujump)


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