diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/serverdialog.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index d1ec6f0df..a8895cad9 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -330,7 +330,10 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo, addKeyListener(this); loadWindowState(); +} +void ServerDialog::postInit() +{ setVisible(true); mConnectButton->requestFocus(); diff --git a/src/gui/windows/serverdialog.h b/src/gui/windows/serverdialog.h index 95bcda706..31ad9609a 100644 --- a/src/gui/windows/serverdialog.h +++ b/src/gui/windows/serverdialog.h @@ -104,6 +104,8 @@ class ServerDialog final : public Window, A_DELETE_COPY(ServerDialog) + void postInit() override; + /** * Destructor */ |