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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user