[chronojump] Hopefully chronopic register and tests work flawlessly now



commit fc1bb507b3479a2b5889ed4cc6dd9d65bbdd18d1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Nov 23 23:33:51 2016 +0100

    Hopefully chronopic register and tests work flawlessly now

 src/gui/chronojump.cs |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index f052e15..f8b8fba 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3733,19 +3733,7 @@ public partial class ChronoJumpWindow
 
        void on_button_execute_test_clicked (object o, EventArgs args) 
        {
-               if(UtilAll.IsWindows()) {
-                       //on Windows check if last connected port is available with chronopicRegister 
getPorts()
-                       //TODO: fix this code
-                       /*
-                       bool windowsLastContactsPortExists = cp2016.WindowsLastConnectedRealExists();
-                       if( ! windowsLastContactsPortExists) {
-                               chronopicRegisterUpdate(true);
-                               return;
-                       }
-                       */
-               } else {
-                       chronopicRegisterUpdate(false);
-               }
+               chronopicRegisterUpdate(false);
 
                int numContacts = chronopicRegister.NumConnectedOfType(ChronopicRegisterPort.Types.CONTACTS);
                //store a boolean in order to read info faster


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