1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-16 15:57:52 +01:00

Fix misbehavior of toolbars after click without drag on a grabber...

... only lately introduced at b3c8f5db3d
This commit is contained in:
Paul Licameli
2017-07-24 12:34:24 -04:00
parent 2f178db700
commit 2d56c8ec32
2 changed files with 4 additions and 7 deletions

View File

@@ -835,13 +835,8 @@ void ToolDock::OnGrabber( GrabberEvent & event )
{
// auto pos = event.GetPosition();
if (!event.IsEscaping()) {
ToolBar *t = mBars[ event.GetId() ];
// Pass it on to the manager since it isn't in the handling hierarchy
mManager->ProcessEvent( event );
// We no longer have control
mConfiguration.Remove( t );
}
}