mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Delete menu when done
This commit is contained in:
@@ -2037,6 +2037,8 @@ void LabelTrack::ShowContextMenu()
|
||||
|
||||
parent->PopupMenu(menu, x, ls->y + (mIconHeight / 2) - 1);
|
||||
|
||||
delete menu;
|
||||
|
||||
// it's an invalid dragging event
|
||||
SetWrongDragging(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user