Changeset 2015 for trunk/MagicSoft/Mars/mhist/MFillH.cc
- Timestamp:
- 04/28/03 09:52:57 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MFillH.cc
r1994 r2015 326 326 } 327 327 328 // -------------------------------------------------------------------------- 329 // 330 // Creates a new tab in a status display with the name of the MH class, 331 // if fDisplay is set and the MH-class overwrites the Draw function 332 // 328 333 Bool_t MFillH::DrawToDisplay() 329 334 { 335 fCanvas = NULL; 336 330 337 if (!fDisplay) 338 return kTRUE; 339 340 if (!fH->OverwritesDraw()) 331 341 return kTRUE; 332 342 … … 485 495 fH->SetReadyToSave(); 486 496 487 if (fDisplay) 497 // 498 // Check whether fDisplay has previously been used (fCanvas) 499 // and fDisplay is still open. 500 // 501 if (fCanvas && fDisplay) 488 502 { 489 503 fCanvas->cd();
Note:
See TracChangeset
for help on using the changeset viewer.