mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Account: Additional on top fix for #3617
This commit is contained in:
parent
81c19232a5
commit
1ad80878b2
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue