Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/20/10 05:10:22 (15 years ago)
Author:
swagner
Message:

Committing first results of the refactoring of HeuristicLab.Core and related plugins (#95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/SaveAllMenuItem.cs

    r2555 r2656  
    3434    public override void ActiveViewChanged(object sender, EventArgs e) {
    3535      var views = from v in MainFormManager.MainForm.Views
    36                   where v is IItemView
    37                   where CreatableAttribute.IsCreatable(((IItemView)v).Item.GetType())
     36                  where v is IObjectView
     37                  where CreatableAttribute.IsCreatable(((IObjectView)v).Object.GetType())
    3838                  select v;
    3939      ToolStripItem.Enabled = views.FirstOrDefault() != null;
Note: See TracChangeset for help on using the changeset viewer.