mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Clear PN2 PO2 PHE GasItem
After the dive log has been closed, the ProfileWidget2 does not clear the pn2 po2 and ph2 gas line. This patch cleared the three lines after dive log closed. Acked-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Hugle <wulong@comp.nus.edu.sg> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									cb53049b74
								
							
						
					
					
						commit
						a908186716
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -582,6 +582,9 @@ void ProfileWidget2::setEmptyState() | |||
| 	rulerItem->setVisible(false); | ||||
| 	rulerItem->destNode()->setVisible(false); | ||||
| 	rulerItem->sourceNode()->setVisible(false); | ||||
| 	pn2GasItem->setVisible(false); | ||||
| 	po2GasItem->setVisible(false); | ||||
| 	pheGasItem->setVisible(false); | ||||
| 	Q_FOREACH(DiveCalculatedTissue * tissue, allTissues) { | ||||
| 		tissue->setVisible(false); | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue