mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
fixed the zooming in plot tab. if x andy axis zoom set, it didnt take it for next measurement
This commit is contained in:
parent
14c78dc500
commit
328139434d
@ -805,6 +805,11 @@ void qTabPlot::EnableScanBox(){
|
|||||||
boxScan->setChecked(false);
|
boxScan->setChecked(false);
|
||||||
boxScan->setEnabled(false);
|
boxScan->setEnabled(false);
|
||||||
|
|
||||||
|
/**Newly added*/
|
||||||
|
// To remind the updateplot in qdrawplot to set range after updating plot
|
||||||
|
if(!isOriginallyOneD)
|
||||||
|
myPlot->SetXYRange(true);
|
||||||
|
|
||||||
//2d scans read every frame, not compulsory, but for historgrams
|
//2d scans read every frame, not compulsory, but for historgrams
|
||||||
if((!isOriginallyOneD) && (mode0 || mode1)){
|
if((!isOriginallyOneD) && (mode0 || mode1)){
|
||||||
//read every frame
|
//read every frame
|
||||||
|
Loading…
x
Reference in New Issue
Block a user