Changeset 1494 for branches/eraser6/6.0


Ignore:
Timestamp:
01/11/10 00:55:18 (5 years ago)
Author:
lowjoel
Message:

Simplified Decoy Files removal algorithm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser/SettingsPanel.cs

    r1490 r1494  
    296296                ListBox.SelectedObjectCollection items = 
    297297                    plausibleDeniabilityFiles.SelectedItems; 
     298 
    298299                while (items.Count > 0) 
    299                 { 
    300                     for (int i = 0; i < items.Count; i++) 
    301                         plausibleDeniabilityFiles.Items.Remove(items[i]); 
    302  
    303                     items = plausibleDeniabilityFiles.SelectedItems; 
    304                 } 
    305  
     300                    plausibleDeniabilityFiles.Items.Remove(items[0]); 
    306301                plausableDeniabilityFilesRemoveUpdate(); 
    307302            } 
Note: See TracChangeset for help on using the changeset viewer.