mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-05 06:01:04 +01:00
Bug30: During playback, after CTRL+M, chars, ENTER -- restore track focus.
This commit is contained in:
@@ -204,7 +204,8 @@ class AUDACITY_DLL_API LabelTrack : public Track
|
||||
const LabelStruct *GetLabel(int index) const;
|
||||
|
||||
//This returns the index of the label we just added.
|
||||
int AddLabel(const SelectedRegion ®ion, const wxString &title = wxT(""));
|
||||
int AddLabel(const SelectedRegion ®ion, const wxString &title = wxT(""),
|
||||
Track *pRestoreFocus = 0);
|
||||
//And this tells us the index, if there is a label already there.
|
||||
int GetLabelIndex(double t, double t1);
|
||||
|
||||
@@ -267,6 +268,7 @@ class AUDACITY_DLL_API LabelTrack : public Track
|
||||
bool mResetCursorPos; /// flag to reset cursor position(used in the dragging the glygh)
|
||||
bool mRightDragging; /// flag to tell if it's a valid dragging
|
||||
bool mDrawCursor; /// flag to tell if drawing the cursor or not
|
||||
Track *mpRestoreFocus; /// Restore focus to this track when done editing
|
||||
|
||||
// Set in copied label tracks
|
||||
double mClipLen;
|
||||
|
||||
Reference in New Issue
Block a user