[connections] rdp-connection: Call show () when opening an already established connection



commit 83e9ed8381d4a5cf425d9c3f92cc269ac0b9216f
Author: Manuel Wassermann <manuel wassermann97 gmail com>
Date:   Fri Nov 26 13:53:25 2021 +0100

    rdp-connection: Call show () when opening an already established connection
    
    Otherwise, it just shows an infinite loading screen after reopening a connection.

 src/rdp-connection.vala | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/rdp-connection.vala b/src/rdp-connection.vala
index bb8f23e..cf7d0d5 100644
--- a/src/rdp-connection.vala
+++ b/src/rdp-connection.vala
@@ -91,8 +91,11 @@ namespace Connections {
         }
 
         public override void connect_it () {
-            if (connected)
+            if (connected) {
+                show ();
+
                 return;
+            }
 
             if (username == null && password == null) {
                 handle_auth ();


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