[chronojump] Networks: don't allow to press guest button while connection is being done



commit 57ac8332f43736f3d4a2424788b80d289e2fa903
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Aug 23 12:38:47 2022 +0200

    Networks: don't allow to press guest button while connection is being done

 src/gui/networks.cs | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 5f41419f6..64f37ecdd 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -855,6 +855,10 @@ public partial class ChronoJumpWindow
 
                        return false;
                } else {
+                       //don't allow to press guest button while connection is being done
+                       button_networks_contacts_guest.Visible = false;
+                       button_networks_encoder_guest.Visible = false;
+
                        sendingJsonRFID = true;
                        GLib.Timeout.Add (50, new GLib.TimeoutHandler (sendJsonRFID));
                }


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