fixed angular conversion crashing problem and got rid of unnecssary prints

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@253 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2014-01-31 14:12:14 +00:00
parent f738b218e1
commit 78e6dccf46
4 changed files with 21 additions and 29 deletions

View File

@ -715,6 +715,7 @@ void qTabPlot::EnableScanBox(bool Histo){
int mode1 = myDet->getScanMode(1);
int ang;
bool angConvert = myDet->getAngularConversion(ang);
myPlot->EnableAnglePlot(angConvert);
radioDataGraph->setEnabled(true);
radioHistogram->setEnabled(true);
@ -752,7 +753,6 @@ void qTabPlot::EnableScanBox(bool Histo){
myPlot->EnableAnglePlot(angConvert);
if(angConvert){
boxScan->setToolTip("<nobr>Only 1D Plots enabled for Angle Plots</nobr>");
//disable histogram