- Timestamp:
- 05/27/10 14:09:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs
r3805 r3863 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.