1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-18 17:10:05 +02:00

Bug 1663 - Cut does not remove Quick-Play region.

A perhaps unwanted side effect of this change is that cut also cancels a pause, if there was one.  Does not seem a problem to me.
This commit is contained in:
James Crook 2017-06-18 12:20:46 +01:00
parent 9b06f76f6f
commit aee04aba23

View File

@ -4770,10 +4770,14 @@ void AudacityProject::OnCut()
PushState(_("Cut to the clipboard"), _("Cut"));
RedrawProject();
// Bug 1663
//mRuler->ClearPlayRegion();
mRuler->DrawOverlays( true );
mViewInfo.selectedRegion.collapseToT0();
RedrawProject();
if (mHistoryWindow)
mHistoryWindow->UpdateDisplay();
}