From 3a7b8d73d88fba9c3c0bc2a215cb4bd65ba6b5b7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 3 Nov 2019 06:22:49 -0800 Subject: Mobile: let the user know if we can't save changes While the error that caused this to happen should be fixed, we should at least let the user know if things failed catastrophically and we can't figure out how to save their data. Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets/qmlmanager.cpp') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 983f192be..ac1bf82d6 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1349,6 +1349,7 @@ void QMLManager::saveChangesCloud(bool forceRemoteSync) return; if (!m_loadFromCloud) { + setNotificationText(tr("Fatal error: cannot save data file. Please copy log file and report.")); appendTextToLog("Don't save dives without loading from the cloud, first."); return; } -- cgit v1.2.3-70-g09d2