diff options
Diffstat (limited to 'src')
-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); |