mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Force replot of selected_dive when canceling plan
The profile was still the planner one, so we need to force a replot. Fixes #621 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									c34ee894ab
								
							
						
					
					
						commit
						9d4b8c8218
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -397,6 +397,7 @@ void MainWindow::planCanceled() | ||||||
| { | { | ||||||
| 	showProfile(); | 	showProfile(); | ||||||
| 	refreshDisplay(false); | 	refreshDisplay(false); | ||||||
|  | 	ui.newProfile->plotDive(get_dive(selected_dive)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void MainWindow::planCreated() | void MainWindow::planCreated() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue