From 9cb39f7ffe23cc8f09b38cc377d3785dba4c5b52 Mon Sep 17 00:00:00 2001 From: Deni42 Date: Fri, 5 Jan 2018 10:35:32 +0100 Subject: [PATCH] Fix UI bugs with autoconnect --- app/ui.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/ui.js b/app/ui.js index 8e77967a..ead08e54 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1019,8 +1019,6 @@ var UI = { UI.closeAllPanels(); UI.closeConnectPanel(); - UI.updateVisualState('connecting'); - var url; url = UI.getSetting('encrypt') ? 'wss' : 'ws'; @@ -1047,6 +1045,7 @@ var UI = { UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale'; UI.rfb.resizeSession = UI.getSetting('resize') === 'remote'; + UI.updateVisualState('connecting'); UI.updateViewOnly(); },