Changeset 3805
- Timestamp:
- 05/14/10 11:16:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs
r3796 r3805 60 60 activeView = value; 61 61 if (activeView != null) { 62 ViewType = activeView.GetType(); 62 63 RegisterActiveViewEvents(); 63 64 View view = activeView as View; … … 108 109 109 110 Type defaultViewType = MainFormManager.GetDefaultViewType(Content.GetType()); 110 if ( !ViewCanShowContent(viewType, Content)) {111 if (ViewType == null || !ViewCanShowContent(viewType, Content)) { 111 112 cachedViews.Clear(); 112 113 if (defaultViewType == null) {
Note: See TracChangeset
for help on using the changeset viewer.