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 <dirk@hohndel.org>
This commit is contained in:
parent
ccace53b83
commit
3a7b8d73d8
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user