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