Changeset 12394 for trunk/FACT++


Ignore:
Timestamp:
11/05/11 17:43:20 (13 years ago)
Author:
tbretz
Message:
Fixed the clearing of the rate-scan display
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r12376 r12394  
    26192619        TH1 *h = (TH1*)c->FindObject("Frame");
    26202620
    2621         if (fGraphRateScan[0].GetN()==0 || th<=fGraphRateScan[0].GetX()[0])
     2621        if (fGraphRateScan[0].GetN()==0 || th<fGraphRateScan[0].GetX()[fGraphRateScan[0].GetN()-1])
    26222622        {
    26232623            h->SetBins(1, th<10 ? 0 : th-10, th+10);
Note: See TracChangeset for help on using the changeset viewer.