mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
bad channel not read on refresh or start up, makefile reverted to compile
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@175 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -110,12 +110,12 @@ void qTabDataOutput::SetupWidgetWindow(){
|
||||
#endif
|
||||
|
||||
|
||||
int nb=myDet->getBadChannelCorrection();
|
||||
|
||||
disconnect(chkDiscardBad, SIGNAL(toggled(bool)));
|
||||
|
||||
if(nb) chkDiscardBad->setChecked(true);
|
||||
|
||||
|
||||
if(myDet->getBadChannelCorrection())
|
||||
chkDiscardBad->setChecked(true);
|
||||
else
|
||||
chkDiscardBad->setChecked(false);
|
||||
connect(chkDiscardBad, SIGNAL(toggled(bool)), this, SLOT(DiscardBadChannels()));
|
||||
|
||||
#ifdef VERBOSE
|
||||
@ -571,12 +571,13 @@ void qTabDataOutput::Refresh(){
|
||||
// cout << "ff " << myDet->getBadChannelCorrection() << endl;
|
||||
#endif
|
||||
|
||||
// disconnect(chkDiscardBad, SIGNAL(toggled(bool)));
|
||||
|
||||
if(myDet->getBadChannelCorrection()) chkDiscardBad->setChecked(true);
|
||||
|
||||
|
||||
// connect(chkDiscardBad, SIGNAL(toggled(bool)), this, SLOT(DiscardBadChannels()));
|
||||
disconnect(chkDiscardBad, SIGNAL(toggled(bool)));
|
||||
if(myDet->getBadChannelCorrection())
|
||||
chkDiscardBad->setChecked(true);
|
||||
else
|
||||
chkDiscardBad->setChecked(false);
|
||||
connect(chkDiscardBad, SIGNAL(toggled(bool)), this, SLOT(DiscardBadChannels()));
|
||||
|
||||
if(myDet->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG){
|
||||
btnOutputBrowse->setEnabled(false);
|
||||
|
Reference in New Issue
Block a user