mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
QML UI: clear up more data when changing credentials
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d877e13e0a
commit
f925711185
1 changed files with 3 additions and 0 deletions
|
@ -168,6 +168,9 @@ void QMLManager::saveCloudCredentials()
|
|||
getCloudURL(url);
|
||||
manager()->clearAccessCache(); // remove any chached credentials
|
||||
clear_git_id(); // invalidate our remembered GIT SHA
|
||||
clear_dive_file_data();
|
||||
DiveListModel::instance()->clear();
|
||||
GpsListModel::instance()->clear();
|
||||
openLocalThenRemote(url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue