diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-02 17:51:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-02 17:51:43 +0300 |
commit | 2d0696abd547cf00fda04f070fb713c92acaf91b (patch) | |
tree | 2e240fb2c89184df00b4e06db65d889f1e2b3199 /src/gui | |
parent | adee4beacfb6865233c220e060697627d358bdb1 (diff) | |
download | manaverse-2d0696abd547cf00fda04f070fb713c92acaf91b.tar.gz manaverse-2d0696abd547cf00fda04f070fb713c92acaf91b.tar.bz2 manaverse-2d0696abd547cf00fda04f070fb713c92acaf91b.tar.xz manaverse-2d0696abd547cf00fda04f070fb713c92acaf91b.zip |
Fix updates problem if player by mistake enable empty custom update host.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/logindialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp index e0033793b..ef8fd6bf0 100644 --- a/src/gui/logindialog.cpp +++ b/src/gui/logindialog.cpp @@ -177,7 +177,8 @@ void LoginDialog::action(const gcn::ActionEvent &event) mLoginData->remember = mKeepCheck->isSelected(); int updateType = mUpdateTypeDropDown->getSelected(); - if (mCustomUpdateHost->isSelected()) + if (mCustomUpdateHost->isSelected() + && mUpdateHostText->getText().empty()) { updateType |= LoginData::Upd_Custom; serverConfig.setValue("customUpdateHost", |