1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-26 23:13:47 +01:00

Do not change selection when stopping non-scrub play

This commit is contained in:
Paul Licameli
2016-06-06 14:18:47 -04:00
parent 1492294c90
commit d0d28143f7

View File

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