Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/15/09 16:00:27 (15 years ago)
Author:
mkommend
Message:

set ActiveView to null during ViewClosed, if the active view is being closed (ticket #743)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm/3.2/MultipleDocumentMainForm.cs

    r2309 r2358  
    8484    private void MultipleDocumentFormClosed(object sender, FormClosedEventArgs e) {
    8585      DocumentForm form = (DocumentForm)sender;
    86       views.Remove(form.View);
    87       if (views.Count == 0)
    88         ActiveView = null;
    89 
    9086      ViewClosed(form.View);
    9187      form.Activated -= new EventHandler(MultipleDocumentFormActivated);
Note: See TracChangeset for help on using the changeset viewer.