fixed gui bug: time interval must be set before acquisition

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@202 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-07-12 10:27:16 +00:00
parent 0aef2f3b81
commit bca0799b84
2 changed files with 4 additions and 0 deletions

View File

@ -116,6 +116,7 @@ public slots:
*/
void UpdateAfterCloning();
private slots:
/** Selects the plot to display, enables/disables widgets
* @param b true to select plot dimension 1, else false to select 2D

View File

@ -858,11 +858,14 @@ void qTabPlot::Refresh(){
cout << endl << "**Updating Plot Tab" << endl;
#endif
if(!myPlot->isRunning()){
if (!radioNoPlot->isChecked())
boxFrequency->setEnabled(true);
connect(boxScan, SIGNAL(toggled(bool)), this, SLOT(EnableScanBox()));
EnableScanBox();
SetFrequency();
}else{
boxFrequency->setEnabled(false);
disconnect(boxScan, SIGNAL(toggled(bool)), this, SLOT(EnableScanBox()));
boxScan->setEnabled(false);
//to toggle between no plot and the plot mode chosen while pltting