mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
reduced gui_client crashes
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@168 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -721,14 +721,20 @@ void qDetectorMain::EnableTabs(){
|
||||
|
||||
//moved to here, so that its all in order, instead of signals and different threads
|
||||
if(!enable) {
|
||||
//stop the adc timer in gotthard
|
||||
if(tab_developer->isEnabled())
|
||||
tab_developer->StopADCTimer();
|
||||
//set the plot type first(acccss shared memory)
|
||||
tab_plot->SetScanArgument();
|
||||
//sets running to true
|
||||
myPlot->StartStopDaqToggle();
|
||||
}
|
||||
else//to enable scan box
|
||||
else{//to enable scan box
|
||||
tab_plot->Refresh();
|
||||
|
||||
//to start adc timer
|
||||
if(tab_developer->isEnabled())
|
||||
tab_developer->Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user