Changeset 2839


Ignore:
Timestamp:
02/19/10 11:50:54 (11 years ago)
Author:
mkommend
Message:

corrected bug in setter of ViewHost.viewType (allowed null to be set) (ticket #95)

File:
1 edited

Legend:

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

    r2838 r2839  
    3333      get { return this.viewType; }
    3434      set {
    35         if (!ViewCanShowContent(value, content))
     35        if (value != null && !ViewCanShowContent(value, content))
    3636          throw new ArgumentException(string.Format("View \"{0}\" cannot display content \"{1}\".",
    3737                                                    value.GetPrettyName(),
Note: See TracChangeset for help on using the changeset viewer.