- Timestamp:
- 01/29/10 16:26:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/MainForm.cs
r2707 r2723 86 86 get { return this.activeView; } 87 87 protected set { 88 if (this.activeView != value ) {88 if (this.activeView != value && (value != null || this.views.Keys.All(v => !v.IsShown))) { 89 89 if (InvokeRequired) { 90 90 Action<IView> action = delegate(IView activeView) { this.ActiveView = activeView; }; … … 214 214 if (this.views.ContainsKey(view)) { 215 215 this.Hide(view); 216 if (this.activeView == view && views.All(v => !view.IsShown)) 217 this.ActiveView = null; 216 218 this.OnViewHidden(view); 217 219 }
Note: See TracChangeset
for help on using the changeset viewer.