mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Planner: don't include the disclaimer in the dive plan detail widget
We want the disclaimer in the final dive that can be printed, but it's distracting when shown while planning the dive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									6333f3aa35
								
							
						
					
					
						commit
						ed26dfdd6b
					
				
					 3 changed files with 13 additions and 11 deletions
				
			
		|  | @ -841,7 +841,7 @@ void DivePlannerPointsModel::createTemporaryPlan() | |||
| 	dump_plan(&diveplan); | ||||
| #endif | ||||
| 	if (plannerModel->recalcQ() && !diveplan_empty(&diveplan)) { | ||||
| 		plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner()); | ||||
| 		plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner(), false); | ||||
| 		MainWindow::instance()->setPlanNotes(tempDive->notes); | ||||
| 		addDecoToModel(); | ||||
| 		if (mode == ADD || mode == PLAN) { | ||||
|  | @ -889,7 +889,7 @@ void DivePlannerPointsModel::createPlan() | |||
| 	plannerModel->setRecalc(oldRecalc); | ||||
| 
 | ||||
| 	//TODO: C-based function here?
 | ||||
| 	plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner()); | ||||
| 	plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner(), true); | ||||
| 	record_dive(tempDive); | ||||
| 	mark_divelist_changed(true); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue