mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Cleanup: Improve the Use of 'Planned dive' and 'Manually added dive'.
- standardise the naming; - use it consistently; - apply the 'samples < 50' only when putting manually added dives into edit mode - everywhere else manually added dives should be treated as such; - do not show a warning before editing a manually added dive in planner. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
		
							parent
							
								
									ecc6f64d10
								
							
						
					
					
						commit
						1aa5438b2d
					
				
					 10 changed files with 47 additions and 34 deletions
				
			
		|  | @ -69,7 +69,7 @@ void DivePlannerPointsModel::createSimpleDive(struct dive *dIn) | |||
| 	clear_dive(d); | ||||
| 	d->id = dive_getUniqID(); | ||||
| 	d->when = QDateTime::currentMSecsSinceEpoch() / 1000L + gettimezoneoffset() + 3600; | ||||
| 	d->dc.model = strdup("planned dive"); // don't translate! this is stored in the XML file
 | ||||
| 	make_planner_dc(&d->dc); | ||||
| 
 | ||||
| 	clear(); | ||||
| 	removeDeco(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue