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:
parent
1f911b60d4
commit
77b56cf8bc
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user