diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-29 21:49:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-29 21:49:11 +0300 |
commit | 27300ff284bbed3b6bce938071c3982e4a757680 (patch) | |
tree | 4553173ccbc0c5e5f98a767c3cd6b394a7b25409 /src/gui/serverdialog.cpp | |
parent | 72c39aee65ed88c81343c80bd5cbfbf1f4611218 (diff) | |
download | plus-27300ff284bbed3b6bce938071c3982e4a757680.tar.gz plus-27300ff284bbed3b6bce938071c3982e4a757680.tar.bz2 plus-27300ff284bbed3b6bce938071c3982e4a757680.tar.xz plus-27300ff284bbed3b6bce938071c3982e4a757680.zip |
Fix deleting character if nick not saved.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 0dc817646..140e4b629 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -236,12 +236,13 @@ ServerDialog::ServerDialog(ServerInfo *serverInfo, const std::string &dir): mPersistentIPCheckBox(0) { if (isSafeMode) - setCaption("Choose Your Server *** SAFE MODE ***"); + setCaption(_("Choose Your Server *** SAFE MODE ***")); setWindowName("ServerDialog"); Label *serverLabel = new Label(_("Server:")); Label *portLabel = new Label(_("Port:")); + mServerNameField = new TextField(mServerInfo->hostname); mPortField = new TextField(toString(mServerInfo->port)); mPersistentIPCheckBox = new CheckBox(_("Use same ip for game sub servers"), |