Changeset 1212


Ignore:
Timestamp:
09/29/09 11:30:54 (5 years ago)
Author:
lowjoel
Message:

Fixed error when loading tasks with manully-run schedule types.

File:
1 edited

Legend:

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

    r1204 r1212  
    5050 
    5151            Schedule schedule = (Schedule)info.GetValue("Schedule", typeof(Schedule)); 
    52             if (schedule.GetType() == Schedule.RunNow.GetType()) 
     52            if (schedule.GetType() == Schedule.RunManually.GetType()) 
     53                Schedule = Schedule.RunManually; 
     54            else if (schedule.GetType() == Schedule.RunNow.GetType()) 
    5355                Schedule = Schedule.RunNow; 
    5456            else if (schedule.GetType() == Schedule.RunOnRestart.GetType()) 
Note: See TracChangeset for help on using the changeset viewer.