1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Let ESC key in pencil tool reclaim abandoned sample blocks sooner

This commit is contained in:
Paul Licameli
2020-07-09 16:30:37 -04:00
parent 2ec3adf555
commit 70ab645647

View File

@@ -430,8 +430,8 @@ UIHandle::Result SampleHandle::Release
UIHandle::Result SampleHandle::Cancel(AudacityProject *pProject)
{
ProjectHistory::Get( *pProject ).RollbackState();
mClickedTrack.reset();
ProjectHistory::Get( *pProject ).RollbackState();
return RefreshCode::RefreshCell;
}