[chronojump] Fixes on not chronopic found on networks at capture since detect devices code



commit 7659adfb9fdcfb697af3e1ae9bba6275630372aa
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Aug 5 11:46:14 2022 +0200

    Fixes on not chronopic found on networks at capture since detect devices code

 src/gui/app1/chronojump.cs | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 287f6beb6..f75fb10e4 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -4766,7 +4766,10 @@ public partial class ChronoJumpWindow
 
                        //on networks as device detect is not used, mark one compatible as selected
                        if (configChronojump.Compujump)
+                       {
+                               chronopicRegisterUpdate (false);
                                chronopicRegister.SetAnyCompatibleConnectedAsSelected (current_mode);
+                       }
 
                        if (chronopicRegister.GetSelectedForMode (current_mode).Port == "")
                        {
@@ -4775,7 +4778,10 @@ public partial class ChronoJumpWindow
                                        on_button_execute_test_acceptedPre_start_camera 
(WebcamStartedTestStart.CHRONOPIC);
                                else
                                {
-                                       if (! configChronojump.Compujump)
+                                       if (configChronojump.Compujump)
+                                               new DialogMessage (Constants.MessageTypes.WARNING,
+                                                               Catalog.GetString("Device not found"));
+                                       else
                                                on_button_detect_clicked (o, args); //open discover win
                                }
                        } else {


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