mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Move label context menu handling to label track
Application key now brings up the context menu while editing labels as it should. This wasn't possible with the old keyboard handling.
This commit is contained in:
@@ -232,6 +232,8 @@ class AUDACITY_DLL_API LabelTrack : public Track
|
||||
//mOldEdge is useful for telling us when there has been a state change.
|
||||
int mOldEdge;
|
||||
private:
|
||||
void ShowContextMenu();
|
||||
void OnContextMenu(wxCommandEvent & evt);
|
||||
|
||||
int mSelIndex; /// Keeps track of the currently selected label
|
||||
int mMouseOverLabelLeft; /// Keeps track of which left label the mouse is currently over.
|
||||
|
||||
Reference in New Issue
Block a user