[connections] Ensure VncConnection-specific properties are saved



commit 0059b4884717ec495c0777d048848d19bb8c61cf
Author: Chris Heywood <15127-creywood users noreply gitlab gnome org>
Date:   Mon Nov 9 18:27:41 2020 +1100

    Ensure VncConnection-specific properties are saved

 src/vnc-connection.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vnc-connection.vala b/src/vnc-connection.vala
index 51957ff..5409430 100644
--- a/src/vnc-connection.vala
+++ b/src/vnc-connection.vala
@@ -279,12 +279,12 @@ namespace Connections {
         }
 
         public override void save () {
-            base.save ();
-
             var vnc = connection as VncConnection;
 
             set_boolean (connection.uuid, "view_only", vnc.view_only);
             set_boolean (connection.uuid, "show_local_pointer", vnc.show_local_pointer);
+
+            base.save ();
         }
     }
 }


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