Ignore:
Timestamp:
6/19/2010 2:48:03 AM (2 years ago)
Author:
lowjoel
Message:

Unset the Indeterminate flag when:

  • The Completed property is set
  • The MarkComplete? function is called
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Util/ProgressManager.cs

    r2200 r2202  
    159159        public void MarkComplete() 
    160160        { 
     161            progressIndeterminate = false; 
    161162            if (total == 0) 
    162163                completed = total = 1; 
     
    168169        /// Gets or sets the number of work units already completed. 
    169170        /// </summary> 
     171        /// <remarks>This unsets the Indeterminate flag for the progress of this Task.</remarks> 
    170172        public long Completed 
    171173        { 
     
    182184 
    183185                completed = value; 
     186                progressIndeterminate = false; 
    184187            } 
    185188        } 
Note: See TracChangeset for help on using the changeset viewer.