1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Fix inconsistencies in default extension passed to SelectFile...

... It must be empty, or else one extension not including the leading dot;
then correct the string passed to FileSelector in lib-src, which should be
a filename pattern
This commit is contained in:
Paul Licameli
2019-12-27 11:44:58 -05:00
parent ccefe8da5f
commit 3f88df06ec
5 changed files with 12 additions and 11 deletions

View File

@@ -631,7 +631,7 @@ void LabelDialog::OnImport(wxCommandEvent & WXUNUSED(event))
XO("Select a text file containing labels"),
wxEmptyString, // Path
wxT(""), // Name
wxT(".txt"), // Extension
wxT("txt"), // Extension
_("Text files (*.txt)|*.txt|All files|*"),
wxRESIZE_BORDER, // Flags
this); // Parent