1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-01 14:43:48 +01:00

Do not change selection when stopping non-scrub play

This commit is contained in:
Paul Licameli
2016-06-06 14:19:15 -04:00

View File

@@ -494,7 +494,7 @@ void Scrubber::StopScrubbing()
mPoller->Stop();
if (!mCancelled) {
if (HasStartedScrubbing() && !mCancelled) {
const wxMouseState state(::wxGetMouseState());
// Stop and set cursor
mProject->DoPlayStopSelect(true, state.ShiftDown());