Skip to content

Commit

Permalink
Disable looping when play region is cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
crsib committed Nov 10, 2023
1 parent c4f7a53 commit a9154ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SelectUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ void ClearPlayRegion(AudacityProject &project)
auto &viewInfo = ViewInfo::Get( project );
auto &playRegion = viewInfo.playRegion;
playRegion.Clear();

if (playRegion.Active())
InactivatePlayRegion(project);
}

void SetPlayRegionToSelection(AudacityProject &project)
Expand Down

0 comments on commit a9154ee

Please sign in to comment.