From 9981ad629449ee1adfa930cd86b121963f511659 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sun, 25 Feb 2018 19:29:48 +0000 Subject: Show new connection dialog on start if no connections exist --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index d304650..08b49be 100644 --- a/main.js +++ b/main.js @@ -145,6 +145,10 @@ function restoreSavedConnections() { console.log(connection[1]); createQueryExecutor(connection[1]); } + + if (connectionStore.size === 0) { + createNewConnectionDialog(); + } } // TODO - only send messages to instance manager which will route request to correct webView, rather than -- cgit v1.2.3