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