1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Bug 2386 - Win/Linux: Toolbar grabber gets stuck pushed

This commit is contained in:
Leland Lucius
2021-02-15 09:59:42 -06:00
parent 3ecc5717ad
commit 182878caae
3 changed files with 23 additions and 1 deletions

View File

@@ -1527,7 +1527,12 @@ void ToolManager::HandleEscapeKey()
void ToolManager::DoneDragging()
{
// Done dragging
// Done dragging - ensure grabber button isn't pushed
if( mDragBar )
{
mDragBar->SetDocked( NULL, false );
}
// Release capture
auto &window = GetProjectFrame( *mParent );
if( window.HasCapture() )