From 8224b87b7af2d669c02a376f47f6ac1aa76eef4b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 10 Mar 2016 22:17:23 -0800 Subject: [PATCH] QML UI: don't claim to be accessing the cloud when you are not Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 0594a8d0d..ec18f8cb0 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -700,8 +700,8 @@ void QMLManager::saveChanges() appendTextToLog(get_error_string()); return; } - - setAccessingCloud(true); + if (prefs.git_local_only == false) + setAccessingCloud(true); if (save_dives(fileName.toUtf8().data())) { appendTextToLog(get_error_string()); setAccessingCloud(false);