Ignore:
Timestamp:
07/01/11 16:51:50 (13 years ago)
Author:
tbretz
Message:
Fixed switching off AutoScale in ADC window; delete fEventData in destructor
File:
1 edited

Legend:

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

    r11240 r11242  
    10841084            h->SetMinimum(-1111);
    10851085            h->SetMaximum(-1111);
    1086         }
    1087 
    1088         if (!fAdcAutoScale->isChecked())
    1089         {
    1090             if (h->GetMinimum()==-1111)
     1086        }
     1087        else
     1088        {
     1089            if (h->GetMinimumStored()==-1111)
    10911090                h->SetMinimum(-1026);
    1092             if (h->GetMaximum()==-1111)
     1091            if (h->GetMaximumStored()==-1111)
    10931092                h->SetMaximum(1025);
    10941093        }
     
    28312830    ~FactGui()
    28322831    {
    2833         UnsubscribeAllServers();
     2832        UnsubscribeAllServers();
     2833        delete fEventData;
    28342834    }
    28352835};
Note: See TracChangeset for help on using the changeset viewer.