summaryrefslogtreecommitdiff
path: root/src/gui/windows/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-03 20:33:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-03 20:33:54 +0300
commit576d56c7b5636cf95ac8eb1650949da6a26a1bd7 (patch)
treeeb7b037cece1d1e6b9cddb206ac75c780a644129 /src/gui/windows/quitdialog.cpp
parent9b1fed5643a2447495cf4b43309a23ada7901c03 (diff)
downloadmanaplus-576d56c7b5636cf95ac8eb1650949da6a26a1bd7.tar.gz
manaplus-576d56c7b5636cf95ac8eb1650949da6a26a1bd7.tar.bz2
manaplus-576d56c7b5636cf95ac8eb1650949da6a26a1bd7.tar.xz
manaplus-576d56c7b5636cf95ac8eb1650949da6a26a1bd7.zip
fix server config saving if select switch character or switch server.
Diffstat (limited to 'src/gui/windows/quitdialog.cpp')
-rw-r--r--src/gui/windows/quitdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp
index 215987ffb..ff9f669b7 100644
--- a/src/gui/windows/quitdialog.cpp
+++ b/src/gui/windows/quitdialog.cpp
@@ -195,6 +195,7 @@ void QuitDialog::action(const gcn::ActionEvent &event)
{
Net::getCharServerHandler()->switchCharacter();
Game::closeDialogs();
+ serverConfig.write();
}
}
}