Changeset 2490


Ignore:
Timestamp:
03/14/12 00:58:29 (3 years ago)
Author:
lowjoel
Message:

Fixed progress updates for the Scheduler Panel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/pluginsRewrite/Eraser/SchedulerPanel.cs

    r2488 r2490  
    214214            schedulerProgress.Value = 0; 
    215215            PositionProgressBar(); 
     216 
     217            //Start the timer for progress updates 
     218            progressTimer.Start(); 
    216219        } 
    217220 
     
    222225        { 
    223226            ListViewItem item = (ListViewItem)schedulerProgress.Tag; 
     227            if (item == null) 
     228                return; 
    224229            Task task = (Task)item.Tag; 
    225230 
     
    243248                return; 
    244249            } 
     250 
     251            //Stop the timer for progress updates 
     252            progressTimer.Stop(); 
    245253 
    246254            //Get the list view item 
Note: See TracChangeset for help on using the changeset viewer.