summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 00:40:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 00:40:00 +0300
commitd2eaa6dab3e63e44c84f8b21305a128f72dd541c (patch)
tree9b9d1daf05e5013819e4bbf4655066946a27f02f
parent99906c44cf9208dee4e808e03fddd1f209b6b7fc (diff)
downloadmanaverse-d2eaa6dab3e63e44c84f8b21305a128f72dd541c.tar.gz
manaverse-d2eaa6dab3e63e44c84f8b21305a128f72dd541c.tar.bz2
manaverse-d2eaa6dab3e63e44c84f8b21305a128f72dd541c.tar.xz
manaverse-d2eaa6dab3e63e44c84f8b21305a128f72dd541c.zip
fix custom update servers from gui.
-rw-r--r--src/gui/logindialog.cpp2
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",