Ignore:
Timestamp:
3/19/2012 2:09:11 AM (3 years ago)
Author:
lowjoel
Message:

Tasks were not being cleared from the task list upon successful completion because they were reset to Manually executed tasks before returning to the Executor. This scheduling ability should be dealt with in the Executor and not the Task. Therefore, the Task Completion event will still have the schedule of the initial configuration, and not after the schedule has been reset to Manual. This allows context menu tasks which completed successfully to be cleared automatically.

Fixes bug in https://eraser.heidi.ie/forum/viewtopic.php?f=36&p=25922#p25922.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Manager/Task.cs

    r2516 r2543  
    295295                } 
    296296 
    297                 //If the task is an execute on restart task or run immediately task, it is 
    298                 //only run once and can now be restored to a manually run task 
    299                 if (Schedule == Schedule.RunOnRestart || Schedule == Schedule.RunNow) 
    300                     Schedule = Schedule.RunManually; 
    301  
    302297                Progress = null; 
    303298                Executing = false; 
Note: See TracChangeset for help on using the changeset viewer.