mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Select, cut, paste, undo: selection should be a point as after cut
This commit is contained in:
parent
869de7d6f4
commit
6373a5085c
@ -4768,14 +4768,14 @@ void AudacityProject::OnCut()
|
|||||||
msClipT1 = mViewInfo.selectedRegion.t1();
|
msClipT1 = mViewInfo.selectedRegion.t1();
|
||||||
msClipProject = this;
|
msClipProject = this;
|
||||||
|
|
||||||
|
mViewInfo.selectedRegion.collapseToT0();
|
||||||
|
|
||||||
PushState(_("Cut to the clipboard"), _("Cut"));
|
PushState(_("Cut to the clipboard"), _("Cut"));
|
||||||
|
|
||||||
// Bug 1663
|
// Bug 1663
|
||||||
//mRuler->ClearPlayRegion();
|
//mRuler->ClearPlayRegion();
|
||||||
mRuler->DrawOverlays( true );
|
mRuler->DrawOverlays( true );
|
||||||
|
|
||||||
mViewInfo.selectedRegion.collapseToT0();
|
|
||||||
|
|
||||||
RedrawProject();
|
RedrawProject();
|
||||||
|
|
||||||
if (mHistoryWindow)
|
if (mHistoryWindow)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user