Changeset 2539 for trunk/eraser


Ignore:
Timestamp:
03/17/12 03:01:51 (2 years ago)
Author:
lowjoel
Message:

Fix a misnomer: when Eraser is running, and a new task is added, it is possible that the task was added remotely (e.g. via shell context menu) and if the schedule is Run Now, the task could already be running when we receive the event. In those situations, do not reset the task status to Queued for Execution (which we do for new tasks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/SchedulerPanel.cs

    r2516 r2539  
    8181 
    8282            //If the task is set to Run Immediately, then show that status. 
    83             if (task.Schedule == Schedule.RunNow) 
     83            if (task.Schedule == Schedule.RunNow && !task.Executing) 
    8484                item.SubItems[1].Text = S._("Queued for execution"); 
    8585        } 
Note: See TracChangeset for help on using the changeset viewer.