1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-29 06:38:38 +02:00

Fix crash bug caused by bug 705 patch.

This commit is contained in:
v.audacity 2014-03-31 00:41:16 +00:00
parent 1f911b60d4
commit 77b56cf8bc

View File

@ -5340,7 +5340,7 @@ bool TrackPanel::HandleLabelTrackMouseEvent(LabelTrack * lTrack, wxRect &r, wxMo
}
} else if (event.Dragging()) {
;
} else if (event.LeftUp() && (mCapturedTrack->GetKind() == Track::Label)) {
} else if (event.LeftUp() && mCapturedTrack && (mCapturedTrack->GetKind() == Track::Label)) {
SetCapturedTrack( NULL );
}