1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-02 20:37:38 +02:00

LabelTrackView, not LabelTrack, handles focus changes when adding

This commit is contained in:
Paul Licameli
2018-12-05 16:16:31 -05:00
parent 8ff5a4b345
commit aa5f9550bd
9 changed files with 56 additions and 35 deletions

View File

@@ -114,8 +114,7 @@ void ProjectAudioManager::OnAudioIOStopRecording()
pTrack->AddLabel(
SelectedRegion{ interval.first,
interval.first + interval.second },
wxString::Format(wxT("%ld"), counter++),
-2 );
wxString::Format(wxT("%ld"), counter++));
ShowWarningDialog(&window, wxT("DropoutDetected"), _("\
Recorded audio was lost at the labeled locations. Possible causes:\n\
\n\