[chronojump] networks Fixed bug on reopen dialog since last commits



commit 81dd6b3e93075a2dff883ed5c850df864c4f2202
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jul 19 13:27:48 2019 +0200

    networks Fixed bug on reopen dialog since last commits

 src/RFID.cs         | 1 +
 src/gui/networks.cs | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/RFID.cs b/src/RFID.cs
index e737f16c..da0e63e2 100644
--- a/src/RFID.cs
+++ b/src/RFID.cs
@@ -103,6 +103,7 @@ public class RFID
                                {
                                        str = str.Substring(1, str.Length -2);
 
+                                       //LogB.Information(string.Format("waitingAdmin: {0}, adminRFID: {1}, 
str: {2}, swRunning: {3}", waitingAdmin, adminRFID, str, swWaitingAdminDetected.IsRunning));
                                        if(waitingAdmin && adminRFID != "")
                                        {
                                                if(str == adminRFID)
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index f039ff65..aa1eea78 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -260,7 +260,7 @@ public partial class ChronoJumpWindow
 
        private void rfidReopenDialog(object sender, EventArgs e)
        {
-               if(currentSession == null || rfid.Captured == capturedRFID)
+               if(currentSession == null || rfid.Captured != capturedRFID)
                        return;
 
                if(isCompujumpCapturing ())


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