1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-17 16:50:26 +02:00

Use ReleaseMouse not ReleaseCapture

Change made to fix broken build under Linux.
This commit is contained in:
James Crook 2015-04-09 23:43:28 +01:00
parent e5dbc4251c
commit f80db283b5

View File

@ -1476,7 +1476,7 @@ void TrackPanel::HandleEscapeKey()
case IsVZooming:
SetCapturedTrack(NULL, IsUncaptured);
if (HasCapture())
ReleaseCapture();
ReleaseMouse();
return;
default:
return;