From 2413f23cd54f7b2fb6b7b0a7fa6e873ddc0d5717 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 3 Dec 2015 14:54:30 -0800 Subject: [PATCH] QML-UI: open cloud storage once credentials were entered This makes for a much more friendly first use experience: Open Subsurface-mobile, enter your cloud credentials, tap on Save and you see your dive list. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 64e8a6714..2ebd11159 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -88,6 +88,8 @@ void QMLManager::saveCloudCredentials() } } } + if (cloudCredentialsChanged) + loadDives(); } void QMLManager::loadDives()