diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-15 12:22:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-15 12:22:09 +0300 |
commit | 2971fb33f5a31d3e2400e1637e16216e4c4a1a1c (patch) | |
tree | 2de8b84c8a5c3b40fa7608d8125b962cf18311bd /src/gui/windows | |
parent | 1c9df7b5139f80a85333f9ab88a9500381be1690 (diff) | |
download | mv-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.tar.gz mv-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.tar.bz2 mv-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.tar.xz mv-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.zip |
reload background image if reconnecting to other server.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 971f3c5a5..2a1ec8314 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -394,7 +394,10 @@ void ServerDialog::connectToSelectedServer() if (!LoginDialog::savedPasswordKey.empty()) { if (mServerInfo->hostname != LoginDialog::savedPasswordKey) + { LoginDialog::savedPassword.clear(); + client->reloadWallpaper(); + } } config.setValue("usePersistentIP", |