mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-03 23:53:55 +01:00 
			
		
		
		
	Do not change selection when stopping non-scrub play
This commit is contained in:
		@@ -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());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user