1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +02:00

Bug2180: complete the fix...

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

See previous commit, e589ed8ecf
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 ); EVT_LABELTRACK_DELETION, &LabelTrackView::OnLabelDeleted, this );
pParent->Unbind( pParent->Unbind(
EVT_LABELTRACK_PERMUTED, &LabelTrackView::OnLabelPermuted, this ); EVT_LABELTRACK_PERMUTED, &LabelTrackView::OnLabelPermuted, this );
pParent->Unbind(
EVT_LABELTRACK_SELECTION, &LabelTrackView::OnSelectionChange, this );
} }
void LabelTrackView::CopyTo( Track &track ) const void LabelTrackView::CopyTo( Track &track ) const