Sync load from cloud status when changing cloud storage accounts

Since this variable is specific to the cloud credentials in use, we need
to reset it when we change credentials.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-08 11:14:11 -08:00
parent 801ce01585
commit 10ca667403

View file

@ -153,6 +153,7 @@ void QMLManager::saveCloudCredentials()
if (cloudCredentialsChanged) {
free(prefs.userid);
prefs.userid = NULL;
syncLoadFromCloud();
tryRetrieveDataFromBackend();
}
}