Changeset 5974


Ignore:
Timestamp:
01/24/05 17:49:27 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5973 r5974  
    7575   * mhflux/MHAlpha.cc:
    7676     - fixed a problem when fitting without off-data
     77
     78   * mbase/MStatusDisplay.cc:
     79     - implemented a further fix in DrawClonePad to make sure
     80       that the X-stuff doesn't get confused while still
     81       GetDrawOption returns the correct value
    7782
    7883
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r5912 r5974  
    16101610    TVirtualPad *padsav = gPad;
    16111611    oldc.cd();
    1612     gPad = &oldc; // FIXME: Why is this necessary to make GetDrawOption work?
    16131612
    16141613    //copy primitives
     
    16351634
    16361635        // Add the clone and its draw-option to the current pad
     1636        TVirtualPad *save2 = gPad;
     1637        gPad = &oldc; // Don't do this before Clone()!
    16371638        newc.GetListOfPrimitives()->Add(clone, obj->GetDrawOption());
     1639        gPad = save2;
    16381640    }
    16391641    newc.Modified();
Note: See TracChangeset for help on using the changeset viewer.