Account: Additional on top fix for #3617

This commit is contained in:
Markus Goetz 2015-08-14 12:37:19 +02:00
parent 81c19232a5
commit 1ad80878b2

View file

@ -131,9 +131,10 @@ void AccountManager::save(bool saveCredentials)
void AccountManager::wantsAccountSavedSlot(AccountPtr a)
{
qDebug() << "Saving account" << a->url().toString();
auto settings = Account::settingsWithGroup(QLatin1String(accountsC));
settings->beginGroup(a->id());
save(a, *settings, true);
save(a, *settings, false); // don't save credentials they might not have been loaded yet
settings->endGroup();
}