diff options
Diffstat (limited to 'src/gui/logindialog.cpp')
-rw-r--r-- | src/gui/logindialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp index e4c19e604..f3d43c31b 100644 --- a/src/gui/logindialog.cpp +++ b/src/gui/logindialog.cpp @@ -350,7 +350,7 @@ void LoginDialog::prepareUpdate() int updateType = mUpdateTypeDropDown->getSelected(); if (mCustomUpdateHost->isSelected() - && mUpdateHostText->getText().empty()) + && !mUpdateHostText->getText().empty()) { updateType |= LoginData::Upd_Custom; serverConfig.setValue("customUpdateHost", |