Changeset 7669 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Optimizer/3.3/MenuItems/CloseMenuItem.cs
- Timestamp:
- 03/28/12 15:47:26 (12 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:ignore
-
old new 3 3 *.resharper 4 4 *.suo 5 *.user 5 6 *.vsp 6 7 Doxygen 8 FxCopResults.txt 7 9 Google.ProtocolBuffers-0.9.1.dll 8 10 HeuristicLab 3.3.5.1.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Optimizer/3.3/MenuItems/CloseMenuItem.cs
r7270 r7669 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.