Changed: Only return if downloading data

This commit is contained in:
kervala 2016-10-11 18:02:55 +02:00
parent d846bfd636
commit 1335335682

View file

@ -346,10 +346,12 @@ void COperationDialog::processUpdateProfilesNextStep()
if (server.clientDownloadUrl == defaultServer.clientDownloadUrl) if (server.clientDownloadUrl == defaultServer.clientDownloadUrl)
{ {
if (QFile::exists("")) if (QFile::exists(""))
{
downloadData(); downloadData();
return; return;
} }
} }
}
else else
{ {
QString clientFile = config->getInstallationDirectory() + "/" + config->expandVariables(server.clientDownloadFilename); QString clientFile = config->getInstallationDirectory() + "/" + config->expandVariables(server.clientDownloadFilename);