Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2809 for trunk/sources


Ignore:
Timestamp:
02/16/10 10:42:52 (14 years ago)
Author:
mkommend
Message:

corrected bug in ViewHost (ticket #95)

Location:
trunk/sources/HeuristicLab.Core.Views/3.3
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.cs

    r2800 r2809  
    145145      if (viewType == null)
    146146        return false;
    147       return ContentAttribute.CanViewType(viewType, Content.GetType());
     147      return ContentAttribute.CanViewType(viewType, Content.GetType()) && typeMenuItemTable.ContainsKey(viewType);
    148148    }
    149149
Note: See TracChangeset for help on using the changeset viewer.