diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-25 19:29:48 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-25 19:29:48 +0000 |
| commit | 9981ad629449ee1adfa930cd86b121963f511659 (patch) | |
| tree | 2011e01b5a6fdfedf466232d3b8d98e1ca6a6519 /main.js | |
| parent | ae8f6c9cafec89d984acb61365e2031b824ee899 (diff) | |
| download | sql-plus-plus-9981ad629449ee1adfa930cd86b121963f511659.tar.xz sql-plus-plus-9981ad629449ee1adfa930cd86b121963f511659.zip | |
Show new connection dialog on start if no connections exist
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |