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
@ -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…
x
Reference in New Issue
Block a user