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,7 +700,7 @@ void QMLManager::saveChanges()
appendTextToLog(get_error_string()); appendTextToLog(get_error_string());
return; return;
} }
if (prefs.git_local_only == false)
setAccessingCloud(true); setAccessingCloud(true);
if (save_dives(fileName.toUtf8().data())) { if (save_dives(fileName.toUtf8().data())) {
appendTextToLog(get_error_string()); appendTextToLog(get_error_string());