diff options
-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", |