Changeset 10055 for trunk/Mars/mbase
- Timestamp:
- 11/22/10 16:10:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.