Changeset 2984 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 01/30/04 14:55:59 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r2899 r2984 532 532 if (gROOT->IsBatch()) 533 533 return; 534 534 535 fStatusBar->SetText(txt, 1); 535 536 … … 816 817 return; 817 818 818 TCanvas *c = (TCanvas 819 TCanvas *c = (TCanvas*)gTQSender; 819 820 820 821 TVirtualPad* save=gPad; 821 822 822 gPad = c->GetSelectedPad(); 823 824 SetStatusLine2(selected->GetObjectInfo(px,py)); 823 gPad = c ? c->GetSelectedPad() : NULL; 824 825 if (gPad) 826 SetStatusLine2(selected->GetObjectInfo(px,py)); 825 827 826 828 gPad=save;
Note:
See TracChangeset
for help on using the changeset viewer.