1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-09 05:01:57 +01:00
This commit is contained in:
v.audacity
2012-08-01 03:09:11 +00:00
parent 1926c7745f
commit cff4cd3c2d
2 changed files with 7 additions and 4 deletions

View File

@@ -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,