mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make pp graphs visible at startup according to settings
Changeset a90818671 introduces a small inconvenience. The pp graphs at
startup are not shown according to the visibility settings. Requiring to
toggle the icons to show the desired pp graph.
Trivial fix.
Signed-off-by: Jan Mulder <jlmulder@planet.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
			
			
This commit is contained in:
		
							parent
							
								
									8ca4437624
								
							
						
					
					
						commit
						41209005c9
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -625,6 +625,9 @@ void ProfileWidget2::setProfileState() | |||
| 		temperatureAxis->setLine(itemPos.temperature.expanded); | ||||
| 		cylinderPressureAxis->setLine(itemPos.cylinder.expanded); | ||||
| 	} | ||||
| 	pn2GasItem->setVisible(s.value("pn2graph").toBool()); | ||||
| 	po2GasItem->setVisible(s.value("po2graph").toBool()); | ||||
| 	pheGasItem->setVisible(s.value("phegraph").toBool()); | ||||
| 
 | ||||
| 	gasYAxis->setPos(itemPos.partialPressure.pos.on); | ||||
| 	gasYAxis->setLine(itemPos.partialPressure.expanded); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue