From d2eaa6dab3e63e44c84f8b21305a128f72dd541c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Sep 2013 00:40:00 +0300 Subject: fix custom update servers from gui. --- src/gui/logindialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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", -- cgit v1.2.3-70-g09d2