1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-05 22:59:29 +02:00

Bug2180: complete the fix...

... Don't forget the unbinding of the event handler

See previous commit, e589ed8ecfdc99bdb00e0d011b2fc40318cb43ed
This commit is contained in:
Paul Licameli 2019-08-01 06:33:52 -04:00
parent e589ed8ecf
commit 05997dc267

View File

@ -90,6 +90,8 @@ void LabelTrackView::UnbindFrom( LabelTrack *pParent )
EVT_LABELTRACK_DELETION, &LabelTrackView::OnLabelDeleted, this );
pParent->Unbind(
EVT_LABELTRACK_PERMUTED, &LabelTrackView::OnLabelPermuted, this );
pParent->Unbind(
EVT_LABELTRACK_SELECTION, &LabelTrackView::OnSelectionChange, this );
}
void LabelTrackView::CopyTo( Track &track ) const