Ignore:
Timestamp:
5/15/2010 11:10:46 PM (4 years ago)
Author:
lowjoel
Message:

Don't create empty tasks when dragging and dropping.

File:
1 edited

Legend:

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

    r2137 r2138  
    553553                    task.Targets.Add(new RecycleBinErasureTarget()); 
    554554 
     555                //If the task has no targets, we should not go on. 
     556                if (task.Targets.Count == 0) 
     557                    return; 
     558 
    555559                //Add the task, asking the user for his intent. 
    556560                DialogResult action = DialogResult.No; 
Note: See TracChangeset for help on using the changeset viewer.