File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4452,11 +4452,23 @@ Function DAP_CheckProc_Settings_PUser(cba) : CheckBoxControl
4452
4452
STRUCT WMCheckboxAction & cba
4453
4453
4454
4454
variable headstage
4455
+ string ctrls
4455
4456
4456
4457
switch ( cba. eventCode)
4457
4458
case 2: // mouse up
4458
4459
DAP_AbortIfUnlocked ( cba. win)
4459
4460
DAG_Update ( cba. win, cba. ctrlName, val = cba. checked)
4461
+
4462
+ if ( ! cmpstr ( cba. ctrlName, "check_DataACq_Pressure_User" ))
4463
+ ctrls = "button_DataAcq_SSSetPressureMan;setvar_DataAcq_SSPressure;button_DataAcq_PPSetPressureMan;setvar_DataAcq_PPPressure;setvar_DataAcq_PPDuration;check_DataAcq_ManPressureAll"
4464
+
4465
+ if ( cba. checked)
4466
+ DisableControls ( cba. win, ctrls)
4467
+ else
4468
+ EnableControls ( cba. win, ctrls)
4469
+ endif
4470
+ endif
4471
+
4460
4472
WAVE pressureDataWv = P_GetPressureDataWaveRef ( cba. win)
4461
4473
P_RunP_ControlIfTPOFF ( cba. win)
4462
4474
headstage = PressureDataWv[ 0 ][ % UserSelectedHeadStage]
You can’t perform that action at this time.
0 commit comments