Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2709


Ignore:
Timestamp:
01/28/10 21:40:08 (15 years ago)
Author:
mkommend
Message:

corrected firing of ToolStripItemSet (ticket #857)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/ActionUserInterfaceItem.cs

    r2707 r2709  
    3333      internal set {
    3434        if (this.toolStripItem != value) {
     35          bool firstTimeSet = this.toolStripItem == null;
    3536          this.toolStripItem = value;
    36           if (this.toolStripItem == null)
     37          if (firstTimeSet)
    3738            this.OnToolStripItemSet(new EventArgs());
    3839        }
Note: See TracChangeset for help on using the changeset viewer.