Changeset 10055 for trunk/Mars
- Timestamp:
- 11/22/10 16:10:36 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Changelog
r10054 r10055 27 27 - added some comments 28 28 - fixed timing for a point source 29 30 * mbase/MStatusDisplay.cc: 31 - display canvas title in status line 29 32 30 33 -
trunk/Mars/mbase/MStatusDisplay.cc
r9598 r10055 1205 1205 return; 1206 1206 1207 const TString name = c->GetName(); 1208 const TString title = c->GetTitle(); 1209 1210 if (!title.IsNull() && name != title) 1211 SetStatusLine1(title); 1212 1207 1213 // 1208 1214 // If we are in a multithreaded environment (gThreadXAR) we … … 2380 2386 2381 2387 // Add the canvas to the list 2382 c->SetTitle(gFile->GetName()); 2388 const TString name = c->GetName(); 2389 const TString title = c->GetTitle(); 2390 if (title.IsNull() || name==title) 2391 c->SetTitle(gFile->GetName()); 2383 2392 list.Add(c); 2384 2393 }
Note:
See TracChangeset
for help on using the changeset viewer.