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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user