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

Where FileSelector was used, default to Documents not cwd; save prefs

This commit is contained in:
Paul Licameli
2017-08-02 12:41:29 -04:00
parent a9d4c2c05b
commit 5d48e96942
20 changed files with 168 additions and 101 deletions

View File

@@ -29,7 +29,6 @@ and on Mac OS X for the filesystem.
#include <math.h> // for pow()
#include "Internat.h"
#include "FileDialog.h"
#include "Experimental.h"
// in order for the static member variables to exist, they must appear here
@@ -246,7 +245,8 @@ char *Internat::VerifyFilename(const wxString &s, bool input)
wxMessageBox(_("The specified filename could not be converted due to Unicode character use."));
ext = ff.GetExt();
name = FileSelector(_("Specify New Filename:"),
name = FileNames::SelectFile(FileNames::Operation::None,
_("Specify New Filename:"),
wxEmptyString,
name,
ext,