Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4314 for trunk/sources


Ignore:
Timestamp:
08/25/10 11:55:19 (14 years ago)
Author:
mkommend
Message:

Corrected bug in the ViewHost to handle contents without views correctly (ticket #1133)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs

    r4299 r4314  
    105105          else if (viewContextMenuStrip.Items.Count > 0)  // create first available view if no default view is available
    106106            ViewType = (Type)viewContextMenuStrip.Items[0].Tag;
    107           else
     107          else {
    108108            ViewType = null;
     109            ActiveView = null;
     110          }
    109111        }
    110112        if (ActiveView != null) {
Note: See TracChangeset for help on using the changeset viewer.