1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02: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

@@ -24,6 +24,7 @@ License: GPL v2. See License.txt.
#include "widgets/HelpSystem.h"
#include <wx/file.h>
#include <wx/filedlg.h>
#include "Experimental.h"
@@ -518,7 +519,8 @@ public:
"Where would I find the file '%s'?" instead if you want. */
question.Printf(_("Where is '%s'?"), mName.c_str());
wxString path = FileSelector(question,
wxString path = FileNames::SelectFile(FileNames::Operation::None,
question,
mLibPath.GetPath(),
mLibPath.GetName(),
wxT(""),