Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4511


Ignore:
Timestamp:
09/27/10 01:18:39 (14 years ago)
Author:
mkommend
Message:

Corrected deregistering of event handler in the view host (ticket #1211).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs

    r4510 r4511  
    156156    }
    157157    private void DeregisterActiveViewEvents() {
    158       activeView.CaptionChanged += new EventHandler(activeView_CaptionChanged);
    159       activeView.LockedChanged += new EventHandler(activeView_LockedChanged);
     158      activeView.CaptionChanged -= new EventHandler(activeView_CaptionChanged);
     159      activeView.LockedChanged -= new EventHandler(activeView_LockedChanged);
    160160    }
    161161    private void activeView_CaptionChanged(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.