Changeset 1781


Ignore:
Timestamp:
2/9/2010 8:02:36 AM (5 years ago)
Author:
lowjoel
Message:

If we have no log sessions then we should not attempt to list the entries for display to avoid an ArgumentOutOfRangeException?. Addresses #320: Logging improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser/LogForm.cs

    r1777 r1781  
    316316                return; 
    317317 
     318            //Check if we have any session selected 
     319            if (filterSessionCombobox.SelectedIndex == -1) 
     320                return; 
     321 
    318322            Application.UseWaitCursor = true; 
    319323            LogSink sink = Task.Log[filterSessionCombobox.SelectedIndex]; 
Note: See TracChangeset for help on using the changeset viewer.