checking online when refreshing (during acquire) is removed

This commit is contained in:
2019-06-13 08:56:29 +02:00
parent 13e809acd4
commit 7b70274d4f

View File

@ -690,9 +690,9 @@ void qDetectorMain::ExecuteHelp(QAction *action){
void qDetectorMain::Refresh(int index){ void qDetectorMain::Refresh(int index){
myDet->setOnline(slsDetectorDefs::ONLINE_FLAG); //myDet->setOnline(slsDetectorDefs::ONLINE_FLAG);
myDet->setReceiverOnline(slsDetectorDefs::ONLINE_FLAG); //myDet->setReceiverOnline(slsDetectorDefs::ONLINE_FLAG);
qDefs::checkErrorMessage(myDet,"qDetectorMain::Refresh"); //qDefs::checkErrorMessage(myDet,"qDetectorMain::Refresh");
if(!tabs->isTabEnabled(index)) if(!tabs->isTabEnabled(index))
tabs->setCurrentIndex((index++)<(tabs->count()-1)?index:Measurement); tabs->setCurrentIndex((index++)<(tabs->count()-1)?index:Measurement);
else{ else{