1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 16:48:44 +02:00

Fix for bug #s 602 and 603.

When undoing not only should the capture state be checked to
see if it safe to undo, but the captured track should be
checked as well since some activities only set the captured
track and not the state.
This commit is contained in:
lllucius@gmail.com 2014-12-06 12:28:10 +00:00
parent 42452cc1da
commit d1a1c7877d

View File

@ -4164,7 +4164,7 @@ bool TrackPanel::IsDragZooming()
/// Determines if the a modal tool is active /// Determines if the a modal tool is active
bool TrackPanel::IsMouseCaptured() bool TrackPanel::IsMouseCaptured()
{ {
return (mMouseCapture != IsUncaptured); return (mMouseCapture != IsUncaptured || mCapturedTrack != NULL);
} }