allow open digitizer panel when ACQ started
This commit is contained in:
parent
fa2b1012dd
commit
bf989d2c72
|
@ -367,12 +367,12 @@ DigiSettingsPanel::DigiSettingsPanel(Digitizer ** digi, unsigned int nDigi, QStr
|
||||||
enableSignalSlot = true;
|
enableSignalSlot = true;
|
||||||
|
|
||||||
//If any digitizer is running ACQ, disable the panel.
|
//If any digitizer is running ACQ, disable the panel.
|
||||||
for( unsigned int iDigi = 0; iDigi < nDigi; iDigi ++){
|
// for( unsigned int iDigi = 0; iDigi < nDigi; iDigi ++){
|
||||||
if( digi[iDigi]->IsRunning() ) {
|
// if( digi[iDigi]->IsRunning() ) {
|
||||||
this->setEnabled(false);
|
// this->setEnabled(false);
|
||||||
break;
|
// break;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1213,7 +1213,7 @@ void FSUDAQ::StartACQ(){
|
||||||
}
|
}
|
||||||
|
|
||||||
chkSaveData->setEnabled(false);
|
chkSaveData->setEnabled(false);
|
||||||
bnDigiSettings->setEnabled(false);
|
// bnDigiSettings->setEnabled(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1310,7 +1310,7 @@ void FSUDAQ::StopACQ(){
|
||||||
}
|
}
|
||||||
|
|
||||||
chkSaveData->setEnabled(true);
|
chkSaveData->setEnabled(true);
|
||||||
bnDigiSettings->setEnabled(true);
|
// bnDigiSettings->setEnabled(true);
|
||||||
|
|
||||||
repaint();
|
repaint();
|
||||||
printf("================ end of %s \n", __func__);
|
printf("================ end of %s \n", __func__);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user