mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
801ce01585
commit
10ca667403
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ void QMLManager::saveCloudCredentials()
|
|||
if (cloudCredentialsChanged) {
|
||||
free(prefs.userid);
|
||||
prefs.userid = NULL;
|
||||
syncLoadFromCloud();
|
||||
tryRetrieveDataFromBackend();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue