[chronojump] Do not refresh radio_contacts_graph_currentTest.Label at hpaned graph/table change



commit 8a5415169b8dcb4ebc212ec3477153d3c81a666d
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Aug 2 17:24:57 2021 +0200

    Do not refresh radio_contacts_graph_currentTest.Label at hpaned graph/table change

 src/gui/eventExecute.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 36fbdb569..d7c5a06aa 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -202,7 +202,8 @@ public partial class ChronoJumpWindow
 
                event_graph_label_graph_test.Text = "<b>" + event_execute_eventType + "</b>";
                event_graph_label_graph_test.UseMarkup = true;
-               radio_contacts_graph_currentTest.Label = event_execute_eventType;
+               if(radio_contacts_graph_currentTest.Label != event_execute_eventType)
+                       radio_contacts_graph_currentTest.Label = event_execute_eventType;
                                
                event_execute_label_message.Text = "";
 


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