QML UI: clear up more data when changing credentials

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-11 22:46:35 -08:00
parent d877e13e0a
commit f925711185

View file

@ -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);
}
}