Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/28/10 15:43:53 (14 years ago)
Author:
mkommend
Message:

Corrected enabled state of the save toolbar and menu items (ticket #1221).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimizer/3.3/ToolBarItems/SaveToolBarItem.cs

    r3483 r4532  
    4747      IContentView activeView = MainFormManager.MainForm.ActiveView as IContentView;
    4848      ToolStripItem.Enabled = (activeView != null) && (activeView.Content != null) &&
    49                               (activeView.Content is IStorableContent) && !activeView.Locked;
     49                              (activeView.Content is IStorableContent) && !activeView.Locked && activeView.Enabled;
    5050    }
    5151
Note: See TracChangeset for help on using the changeset viewer.