[chronojump] On races wireless do not show connect after first execution



commit ddec6325036ed082eba00a99f1952aac567f543c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Oct 4 13:56:04 2021 +0200

    On races wireless do not show connect after first execution

 src/gui/app1/chronojump.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 706b327d8..830e6252d 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -3575,7 +3575,10 @@ public partial class ChronoJumpWindow
                }
                else if(m == Constants.Modes.RUNSSIMPLE || m == Constants.Modes.RUNSINTERVALLIC)
                {
-                       button_execute_test_show_connect_or_execute(! 
cp2016.SuccededConnectContactsRealThread);
+                       if(cp2016.StoredWireless)
+                               button_execute_test_show_connect_or_execute(false);
+                       else
+                               button_execute_test_show_connect_or_execute(! 
cp2016.SuccededConnectContactsRealThread);
 
                        notebook_sup.CurrentPage = Convert.ToInt32(notebook_sup_pages.CONTACTS);
                        //notebook_capture_analyze.ShowTabs = true;
@@ -4439,6 +4442,7 @@ public partial class ChronoJumpWindow
                {
                        //cp2016.StoredCanCaptureContacts = true;
                        cp2016.StoredWireless = true;
+                       button_execute_test_show_connect_or_execute(false); //to not show "connect"
 
                        on_button_execute_test_acceptedPre_start_camera(WebcamStartedTestStart.CHRONOPIC);
                        return;


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