mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 05:01:57 +01:00
Fixes Note 3 at http://bugzilla.audacityteam.org/show_bug.cgi?id=550#c0.
This commit is contained in:
@@ -564,11 +564,12 @@ void LabelDialog::OnExport(wxCommandEvent &event)
|
||||
return;
|
||||
}
|
||||
|
||||
wxString fName;
|
||||
// Extract the actual name.
|
||||
wxString fName = mTrackNames[mTrackNames.GetCount() - 1].AfterFirst(wxT('-')).Mid(1);
|
||||
|
||||
fName = FileSelector(_("Export Labels As:"),
|
||||
NULL,
|
||||
_("labels.txt"),
|
||||
fName.c_str(),
|
||||
wxT("txt"),
|
||||
wxT("*.txt"),
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT | wxRESIZE_BORDER,
|
||||
|
||||
Reference in New Issue
Block a user