From d1a1c7877dc8350640f840b3a6bba3396d969e6f Mon Sep 17 00:00:00 2001 From: "lllucius@gmail.com" Date: Sat, 6 Dec 2014 12:28:10 +0000 Subject: [PATCH] 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. --- src/TrackPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 7653e0383..c43211645 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -4164,7 +4164,7 @@ bool TrackPanel::IsDragZooming() /// Determines if the a modal tool is active bool TrackPanel::IsMouseCaptured() { - return (mMouseCapture != IsUncaptured); + return (mMouseCapture != IsUncaptured || mCapturedTrack != NULL); }