mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Bug30: Safer fix avoids crashes!
This commit is contained in:
@@ -205,7 +205,7 @@ class AUDACITY_DLL_API LabelTrack : public Track
|
||||
|
||||
//This returns the index of the label we just added.
|
||||
int AddLabel(const SelectedRegion ®ion, const wxString &title = wxT(""),
|
||||
Track *pRestoreFocus = 0);
|
||||
int restoreFocus = -1);
|
||||
//And this tells us the index, if there is a label already there.
|
||||
int GetLabelIndex(double t, double t1);
|
||||
|
||||
@@ -268,7 +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
|
||||
int mRestoreFocus; /// Restore focus to this track when done editing
|
||||
|
||||
// Set in copied label tracks
|
||||
double mClipLen;
|
||||
|
||||
Reference in New Issue
Block a user