Fixed: Update client.cfg after it's copied, see #279

This commit is contained in:
kervala 2016-09-21 09:56:16 +02:00
parent df3832af2f
commit 85e836452c

View file

@ -638,6 +638,9 @@ void COperationDialog::copyProfileFiles()
{ {
} }
// correct path to client_default.cfg
profile.createClientConfig();
emit done(); emit done();
} }
@ -900,8 +903,6 @@ bool COperationDialog::createDefaultProfile()
config->addProfile(profile); config->addProfile(profile);
config->save(); config->save();
profile.createClientConfig();
emit done(); emit done();
return true; return true;