mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Preferences: set deco parameters correctly enabled
And fix another bug in this area of the code. It appeared that the gflow/gfhigh and conservatism deco parameters where not enabled at startup, but after toggling the VPM vs BUEHLMANN setting they were. So, fix this as well. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
		
							parent
							
								
									66c4397efd
								
							
						
					
					
						commit
						cc225a44f2
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -31,9 +31,11 @@ void PreferencesGraph::refreshSettings()
 | 
			
		|||
	if (prefs.display_deco_mode == BUEHLMANN) {
 | 
			
		||||
		ui->buehlmann->setChecked(true);
 | 
			
		||||
		ui->vpmb->setChecked(false);
 | 
			
		||||
		on_buehlmann_toggled(true);
 | 
			
		||||
	} else {
 | 
			
		||||
		ui->buehlmann->setChecked(false);
 | 
			
		||||
		ui->vpmb->setChecked(true);
 | 
			
		||||
		on_buehlmann_toggled(false);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	ui->gflow->setValue(prefs.gflow);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue