mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Preferences: wire-up the deco parameters
The deco parameters need special treatment to wire them up to the underlying deco model code. And with the new preferences setup this is a lot of boilerplate. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
		
							parent
							
								
									0416e54049
								
							
						
					
					
						commit
						66c4397efd
					
				
					 2 changed files with 59 additions and 3 deletions
				
			
		|  | @ -69,7 +69,9 @@ void PreferencesGraph::syncSettings() | |||
| 	prefs.planner_deco_mode = ui->buehlmann->isChecked() ? BUEHLMANN : VPMB; | ||||
| 	qPrefTechnicalDetails::set_gflow(ui->gflow->value()); | ||||
| 	qPrefTechnicalDetails::set_gfhigh(ui->gfhigh->value()); | ||||
| 	set_gf(ui->gflow->value(), ui->gfhigh->value()); | ||||
| 	qPrefTechnicalDetails::set_vpmb_conservatism(ui->vpmb_conservatism->value()); | ||||
| 	set_vpmb_conservatism(ui->vpmb_conservatism->value()); | ||||
| 	qPrefTechnicalDetails::set_show_ccr_setpoint(ui->show_ccr_setpoint->isChecked()); | ||||
| 	qPrefTechnicalDetails::set_show_ccr_sensors(ui->show_ccr_sensors->isChecked()); | ||||
| 	qPrefTechnicalDetails::set_show_scr_ocpo2(ui->show_scr_ocpo2->isChecked()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue