1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-29 16:08:46 +01:00

Context menu handling is also in CellularPanel

This commit is contained in:
Paul Licameli
2018-06-26 22:43:04 -04:00
parent c08c17eafa
commit 7f84e71324
4 changed files with 31 additions and 12 deletions

View File

@@ -165,6 +165,10 @@ class AUDACITY_DLL_API Track /* not final */
(const TrackPanelMouseState &, const AudacityProject *pProject)
final override;
// Delegates the handling to the related TCP cell
std::shared_ptr<TrackPanelCell> ContextMenuDelegate() override
{ return GetTrackControl(); }
public:
// Rather override this for subclasses: