dataoutput browse button disabled help in red

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@139 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-01-22 09:45:24 +00:00
parent 0c529e09fb
commit 64208d5edd

View File

@ -540,11 +540,14 @@ void qTabDataOutput::Refresh(){
if(myDet->getBadChannelCorrection()) chkDiscardBad->setChecked(true);
if(myDet->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG)
if(myDet->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG){
btnOutputBrowse->setEnabled(false);
else
btnOutputBrowse->setToolTip("<font color=\"red\">This button is disabled as receiver PC is different from "
"client PC and hence different directory structures.</font><br><br>" + dispOutputDir->toolTip());
}else{
btnOutputBrowse->setEnabled(true);
btnOutputBrowse->setToolTip(dispOutputDir->toolTip());
}
#ifdef VERBOSE
cout << "**Updated DataOutput Tab" << endl << endl;