mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-08 15:52:53 +02:00
Fix misbehavior after right click in label text
This commit is contained in:
parent
5d267c7b41
commit
550d96b1a2
@ -6362,7 +6362,7 @@ void TrackPanel::HandleTextDragRelease(LabelTrack * lTrack, wxMouseEvent & event
|
||||
/// TrackPanel which suitably modified belong in other classes.
|
||||
if (event.Dragging()) {
|
||||
;
|
||||
} else if (event.LeftUp() && mCapturedTrack && (mCapturedTrack->GetKind() == Track::Label)) {
|
||||
} else if (event.ButtonUp() && mCapturedTrack && (mCapturedTrack->GetKind() == Track::Label)) {
|
||||
SetCapturedTrack(NULL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user