From 2a2155ae3c601fe1f813f9214b1421e4ac634148 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 May 2011 02:36:30 +0300 Subject: Show servers list even if have unknown server in list. --- src/gui/serverdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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( 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); -- cgit v1.2.3-70-g09d2