Changeset 1524 for trunk/MagicSoft/Mars/mbase/MTaskList.cc
- Timestamp:
- 09/16/02 10:10:17 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r1501 r1524 372 372 // Reset all containers. 373 373 // 374 // FIXME: To run a tasklist as a single task in another tasklist we 375 // have to make sure, that the Parameter list isn't reset. 376 // 377 fParList->SetReadyToSave(kFALSE); 378 fParList->Reset(); 374 // Make sure, that the parameter list is not reset from a tasklist 375 // running as a task in another tasklist. 376 // 377 const Bool_t noreset = fParList->TestBit(MParList::kDoNotReset); 378 if (!noreset) 379 { 380 fParList->SetReadyToSave(); 381 fParList->Reset(); 382 fParList->SetBit(MParList::kDoNotReset); 383 } 379 384 380 385 // … … 428 433 } 429 434 435 if (!noreset) 436 fParList->ResetBit(MParList::kDoNotReset); 437 430 438 return kTRUE; 431 439 }
Note:
See TracChangeset
for help on using the changeset viewer.