1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Bug1659: make selection change from pick on label box undo correctly

This commit is contained in:
Paul Licameli 2017-06-15 08:08:41 -04:00
parent 3e38f761f5
commit 07b53b4e83

View File

@ -6583,6 +6583,11 @@ bool TrackPanel::HandleLabelTrackClick(LabelTrack * lTrack, const wxRect &rect,
SetCapturedTrack(lTrack, IsSelectingLabelText);
RefreshTrack(lTrack);
// PRL: bug1659 -- make selection change undo correctly
if (!IsUnsafe())
MakeParentModifyState(false);
return true;
}