mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +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:
parent
42452cc1da
commit
d1a1c7877d
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user