Changeset 7401 for branches/HiveHiveEngine/HeuristicLab.Optimizer
- Timestamp:
- 01/24/12 13:33:38 (13 years ago)
- Location:
- branches/HiveHiveEngine
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveHiveEngine
- Property svn:mergeinfo changed
/trunk/sources merged: 7395,7397,7400
- Property svn:mergeinfo changed
-
branches/HiveHiveEngine/HeuristicLab.Optimizer/3.3/MenuItems/CloseMenuItem.cs
r7259 r7401 42 42 43 43 protected override void OnToolStripItemSet(EventArgs e) { 44 ToolStripItem.Enabled = !(MainFormManager.MainForm.ActiveView is Sidebar);44 ToolStripItem.Enabled = (MainFormManager.MainForm.ActiveView != null) && !(MainFormManager.MainForm.ActiveView is Sidebar); 45 45 } 46 46 protected override void OnActiveViewChanged(object sender, EventArgs e) { 47 ToolStripItem.Enabled = !(MainFormManager.MainForm.ActiveView is Sidebar);47 ToolStripItem.Enabled = (MainFormManager.MainForm.ActiveView != null) && !(MainFormManager.MainForm.ActiveView is Sidebar); 48 48 } 49 49
Note: See TracChangeset
for help on using the changeset viewer.