Ignore:
Timestamp:
09/16/02 10:10:17 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r1501 r1524  
    372372    // Reset all containers.
    373373    //
    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    }
    379384
    380385    //
     
    428433    }
    429434
     435    if (!noreset)
     436        fParList->ResetBit(MParList::kDoNotReset);
     437
    430438    return kTRUE;
    431439}
Note: See TracChangeset for help on using the changeset viewer.