mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
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:
parent
c5153fbc10
commit
6ac4fe7b18
2 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,6 @@ MobileComponents.ApplicationWindow {
|
|||
notification.hideNotification();
|
||||
}
|
||||
}
|
||||
|
||||
sharedNotificationComponent.show
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue