mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	core: don't consider dives with many samples as manually added
This causes UI confusion. Notably we go into edit mode and reduce the number of samples, leading to loss of information. If someone really manually adds a dive with more than 50 samples, they should still be able to explicitly open the dive in the planner. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									9ced3a3a4d
								
							
						
					
					
						commit
						f687e51d4b
					
				
					 7 changed files with 15 additions and 8 deletions
				
			
		|  | @ -210,7 +210,7 @@ void TabDiveInformation::updateData() | |||
| 	} | ||||
| 
 | ||||
| 	int salinity_value; | ||||
| 	manualDive = same_string(current_dive->dc.model, "manually added dive"); | ||||
| 	manualDive = is_manually_added_dc(¤t_dive->dc); | ||||
| 	updateWaterTypeWidget(); | ||||
| 	updateProfile(); | ||||
| 	updateWhen(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue