diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-19 02:36:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-19 02:36:30 +0300 |
commit | 2a2155ae3c601fe1f813f9214b1421e4ac634148 (patch) | |
tree | dccaf5533ad1edd7b79d7925f1ff5c10ea169407 /src/gui/serverdialog.cpp | |
parent | 886522371299b45254b7dc72e6de3070703d7c10 (diff) | |
download | mv-2a2155ae3c601fe1f813f9214b1421e4ac634148.tar.gz mv-2a2155ae3c601fe1f813f9214b1421e4ac634148.tar.bz2 mv-2a2155ae3c601fe1f813f9214b1421e4ac634148.tar.xz mv-2a2155ae3c601fe1f813f9214b1421e4ac634148.zip |
Show servers list even if have unknown server in list.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 4 |
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); |