mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	profile: don't show instantMeanDepth for printMode
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									1c06252c00
								
							
						
					
					
						commit
						2b311b1c2c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -610,7 +610,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) | |||
| 
 | ||||
| 	instantMeanDepth->vAxis = profileYAxis; | ||||
| 	instantMeanDepth->hAxis = timeAxis; | ||||
| 	instantMeanDepth->setVisible(prefs.show_average_depth); | ||||
| 	instantMeanDepth->setVisible(prefs.show_average_depth && !printMode); | ||||
| 	instantMeanDepth->setModel(dataModel); | ||||
| 
 | ||||
| 	dataModel->emitDataChanged(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue