[chronojump] Networks fixed not showing "disconnected rfid" if disconnect it after an encoder capture
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Networks fixed not showing "disconnected rfid" if disconnect it after an encoder capture
- Date: Fri, 26 Mar 2021 12:04:42 +0000 (UTC)
commit d466253538a8c0105ddee50175bdd4666aa96f82
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 26 13:04:04 2021 +0100
Networks fixed not showing "disconnected rfid" if disconnect it after an encoder capture
src/gui/networks.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 5665e67c..2926efb3 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -1143,8 +1143,6 @@ public partial class ChronoJumpWindow
private void networksShowDeviceMissingRFID (bool missing)
{
if(missing) {
- hbox_RFID_disconnected.Visible = true;
-
/*
* note rfid missing is more important than encoder missing,
* if both messages are active, then user can connect encoder, press check button
@@ -1152,6 +1150,8 @@ public partial class ChronoJumpWindow
* so do not show the encoder message
*/
notebook_sup.CurrentPage = Convert.ToInt32(notebook_sup_pages.NETWORKSPROBLEMS);
+ hbox_RFID_disconnected.Visible = true;
+
button_activate_chronopics_networks_problems.Sensitive =
preferences.networksAllowChangeDevices;
hbox_encoder_disconnected.Visible = false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]