Ignore:
Timestamp:
06/11/08 12:40:51 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r8926 r8936  
    10471047        c->SetName(name);
    10481048        fBatch->Add(c);
     1049
     1050        // Remove the canvas from the global list to make sure it is
     1051        // not found by gROOT->FindOBject
     1052        gROOT->GetListOfCanvases()->Remove(c);
     1053
    10491054        return *c;
    10501055    }
     
    10741079    c.Connect("ProcessedEvent(Int_t,Int_t,Int_t,TObject*)",
    10751080              "MStatusDisplay", this, "EventInfo(Int_t,Int_t,Int_t,TObject*)");
     1081
     1082    // Remove the canvas from the global list to make sure it is
     1083    // not found by gROOT->FindOBject
     1084    gROOT->GetListOfCanvases()->Remove(&c);
    10761085
    10771086    TGComboBox *box = (TGComboBox*)fList->FindWidget(kTabs);
Note: See TracChangeset for help on using the changeset viewer.