1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

CellularPanel passes AudacityProject* to DoContextMenu() of cell

This commit is contained in:
Paul Licameli
2020-01-01 21:57:39 -05:00
parent 12bbafe013
commit 7dbca958a6
6 changed files with 7 additions and 6 deletions

View File

@@ -877,7 +877,7 @@ void CellularPanel::DoContextMenu( TrackPanelCell *pCell )
auto rect = FindRect( *delegate );
const UIHandle::Result refreshResult =
delegate->DoContextMenu(rect, this, NULL);
delegate->DoContextMenu(rect, this, nullptr, GetProject());
// To do: use safer shared_ptr to pCell
ProcessUIHandleResult(pCell, pCell, refreshResult);