1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-10 21:50:29 +01:00

Bug1770: fix crash applying chains

This commit is contained in:
Paul Licameli
2017-11-04 13:33:11 -04:00
parent 68897d8932
commit 5dd72acc02
3 changed files with 17 additions and 6 deletions

View File

@@ -882,9 +882,8 @@ void TrackList::DeletionEvent()
void TrackList::ResizingEvent(TrackNodePointer node)
{
auto e = std::make_unique<wxCommandEvent>(EVT_TRACKLIST_RESIZING);
if (!isNull(node))
e->SetClientData(node->get());
auto e = std::make_unique<TrackListEvent>(EVT_TRACKLIST_RESIZING);
e->mpTrack = *node;
// wxWidgets will own the event object
QueueEvent(e.release());
}