Changeset 3866
- Timestamp:
- 05/27/10 21:45:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/3.3.0/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs
r3805 r3866 114 114 if (viewContextMenuStrip.Items.Count > 0) // create first available view if default view is not available 115 115 ViewType = (Type)viewContextMenuStrip.Items[0].Tag; 116 } else if (defaultViewType != this.ViewType) 117 ViewType = defaultViewType; 116 } else ViewType = defaultViewType; 117 } else { 118 foreach (Type type in cachedViews.Keys.ToList()) { 119 if (!ViewCanShowContent(type, Content)) 120 cachedViews.Remove(type); 121 } 118 122 } 119 123 UpdateActiveMenuItem();
Note: See TracChangeset
for help on using the changeset viewer.