diff options
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 48ccd9f6d..3f537344f 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -26,6 +26,7 @@ #include "client.h" #include "configuration.h" #include "main.h" +#include "settings.h" #include "events/keyevent.h" @@ -238,6 +239,10 @@ void ServerDialog::connectToSelectedServer() mServerInfo->persistentIp = server.persistentIp; mServerInfo->updateMirrors = server.updateMirrors; + settings.persistentIp = mServerInfo->persistentIp; + settings.supportUrl = mServerInfo->supportUrl; + settings.updateMirrors = mServerInfo->updateMirrors; + if (chatLogger) chatLogger->setServerName(mServerInfo->hostname); |