QML UI: don't claim to be accessing the cloud when you are not

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-10 22:17:23 -08:00
parent fcb308fdf2
commit 8224b87b7a

View file

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