mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	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
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue