mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Invalidate the remembered git SHA when changing credentials
Otherwise, when switching back and forth between two logins, during the second switch the dive list is not loaded as the code checks against the remembered git SHA before rewriting the dive list. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
06628e03c5
commit
5e3b2741ac
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ void QMLManager::saveCloudCredentials()
|
|||
QString url;
|
||||
getCloudURL(url);
|
||||
manager()->clearAccessCache(); // remove any chached credentials
|
||||
clear_git_id(); // invalidate our remembered GIT SHA
|
||||
openLocalThenRemote(url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue