mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	replot() needs to really force a replot
So let's set forceReplot to true to make sure that happens. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									f297d9f91e
								
							
						
					
					
						commit
						15720837d3
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -254,6 +254,7 @@ void ProfileWidget2::setupItemOnScene()
 | 
				
			||||||
void ProfileWidget2::replot()
 | 
					void ProfileWidget2::replot()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	dataModel->clear();
 | 
						dataModel->clear();
 | 
				
			||||||
 | 
						forceReplot = true;
 | 
				
			||||||
	plotDive(); // simply plot the displayed_dive again
 | 
						plotDive(); // simply plot the displayed_dive again
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue