QML UI: show notification for saving dives to cloud as well

Fixes #1014

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-03 06:33:00 -08:00
parent c5153fbc10
commit 6ac4fe7b18
2 changed files with 3 additions and 2 deletions

View file

@ -25,7 +25,6 @@ MobileComponents.ApplicationWindow {
notification.hideNotification();
}
}
sharedNotificationComponent.show
}

View file

@ -624,11 +624,13 @@ void QMLManager::saveChanges()
return;
}
setAccessingCloud(true);
if (save_dives(fileName.toUtf8().data())) {
appendTextToLog(get_error_string());
setAccessingCloud(false);
return;
}
setAccessingCloud(false);
appendTextToLog("Updated dive list saved.");
set_filename(fileName.toUtf8().data(), true);
mark_divelist_changed(false);