mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user