summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-19 02:36:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-19 02:36:30 +0300
commit2a2155ae3c601fe1f813f9214b1421e4ac634148 (patch)
treedccaf5533ad1edd7b79d7925f1ff5c10ea169407 /src/gui
parent886522371299b45254b7dc72e6de3070703d7c10 (diff)
downloadmanaplus-2a2155ae3c601fe1f813f9214b1421e4ac634148.tar.gz
manaplus-2a2155ae3c601fe1f813f9214b1421e4ac634148.tar.bz2
manaplus-2a2155ae3c601fe1f813f9214b1421e4ac634148.tar.xz
manaplus-2a2155ae3c601fe1f813f9214b1421e4ac634148.zip
Show servers list even if have unknown server in list.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/serverdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index fca10c3c8..76dada241 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -722,9 +722,9 @@ void ServerDialog::loadCustomServers()
server.port = static_cast<unsigned short>(
config.getValue(portKey, defaultPort));
- // Stop on the first invalid server
+ // skip invalid server
if (!server.isValid())
- break;
+ continue;
server.save = true;
mServers.push_back(server);