Changeset 17642 for trunk


Ignore:
Timestamp:
04/01/14 15:56:43 (11 years ago)
Author:
tbretz
Message:
Moved the AppendPad before all histograms. In this was when a canvas is opened from a file and deleted first the destructor of MH3 and then fHist is called, so that they are deleted in the correct order -- this is a workaround, but should do the trick.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mhbase/MH3.cc

    r15420 r17642  
    10821082    pad->SetGridy();
    10831083
     1084    AppendPad();
     1085
    10841086    if (fHist->TestBit(kIsLogx))
    10851087    {
     
    11461148    if (!only)
    11471149        h->Draw(str);
    1148 
    1149     AppendPad();
    11501150
    11511151    TProfile *p=0;
Note: See TracChangeset for help on using the changeset viewer.