mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:33:23 +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…
Add table
Reference in a new issue