mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	profile: fix weird disappearance of cylinder pressure line
The reason for this issue, and fix for this is very similar
to commit b4d37e8ee. Just set both recalculate flags on a mouse
release event, so that the cylinder pressure line is recalculated.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
			
			
This commit is contained in:
		
							parent
							
								
									2c8693f468
								
							
						
					
					
						commit
						36cfab46bd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -904,7 +904,7 @@ void ProfileWidget2::mouseReleaseEvent(QMouseEvent *event) | |||
| 		return; | ||||
| 	QGraphicsView::mouseReleaseEvent(event); | ||||
| 	if (currentState == PLAN || currentState == ADD || currentState == EDIT) { | ||||
| 		shouldCalculateMaxTime = true; | ||||
| 		shouldCalculateMaxTime = shouldCalculateMaxDepth = true; | ||||
| 		replot(); | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue