mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: if the cloud credentials are set, open the dive list
There's no point opening to an empty screen and asking the user to do this via the menu. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
975ca2e56a
commit
32e5a8d29a
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ QMLManager::QMLManager()
|
|||
setCloudUserName(prefs.cloud_storage_email);
|
||||
setCloudPassword(prefs.cloud_storage_password);
|
||||
setSaveCloudPassword(prefs.save_password_local);
|
||||
if (!same_string(prefs.cloud_storage_email, "") && !same_string(prefs.cloud_storage_password, ""))
|
||||
loadDives();
|
||||
}
|
||||
|
||||
QMLManager::~QMLManager()
|
||||
|
|
Loading…
Add table
Reference in a new issue