From d769a22686046ec0d580f0fe3ea4ceaf6c3bf521 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 21 Apr 2019 14:10:43 +0200 Subject: [PATCH] Fixed: Don't use current servers count if default one is hihger --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/configfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp index 7b61bda7e..bff6fb795 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp @@ -121,7 +121,8 @@ bool CConfigFile::load(const QString &filename) // only resize if added servers in local ryzom_installer.ini CServers defaultServers = m_servers; - m_servers.resize(serversCount); + // only resize if servers count is greater than default ones + if (serversCount > m_servers.count()) m_servers.resize(serversCount); for (int i = 0; i < serversCount; ++i) {