mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Dive add: remove duplicate code
This is already done when we create the fake dive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									b08969ac33
								
							
						
					
					
						commit
						424d38e0c1
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -428,8 +428,6 @@ void MainWindow::on_actionAddDive_triggered()
 | 
			
		|||
	if(!plannerStateClean())
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	dive_list()->rememberSelection();
 | 
			
		||||
	dive_list()->unselectDives();
 | 
			
		||||
	DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::ADD);
 | 
			
		||||
 | 
			
		||||
	createFakeDiveForAddAndPlan();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue