[chronojump] Better management of missing Chronopic on Windows



commit 1b90db55ce8972c8592e9adda566066fc678ef11
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Oct 24 21:04:47 2016 +0200

    Better management of missing Chronopic on Windows

 src/gui/chronojump.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index d5017f2..6e4661e 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3628,8 +3628,10 @@ public partial class ChronoJumpWindow
                if(UtilAll.IsWindows()) {
                        //on Windows check if last connected port is available with chronopicRegister 
getPorts()
                        bool windowsLastContactsPortExists = cp2016.WindowsLastConnectedRealExists();
-                       if( ! windowsLastContactsPortExists)
+                       if( ! windowsLastContactsPortExists) {
                                chronopicRegisterUpdate(true);
+                               return;
+                       }
                } else {
                        chronopicRegisterUpdate(false);
                }


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