Don't force preset directory

This commit is contained in:
Leland Lucius 2021-02-16 17:28:51 -06:00
parent 4339632e25
commit 7cc1cf79ea
1 changed files with 4 additions and 4 deletions

View File

@ -1863,9 +1863,9 @@ void VSTEffect::ExportPresets()
//
// Passing a valid parent will cause some effects dialogs to malfunction
// upon returning from the FileNames::SelectFile().
path = FileNames::SelectFile(FileNames::Operation::_None,
path = FileNames::SelectFile(FileNames::Operation::Presets,
XO("Save VST Preset As:"),
FileNames::DataDir(),
wxEmptyString,
wxT("preset"),
wxT("xml"),
{
@ -1920,10 +1920,10 @@ void VSTEffect::ImportPresets()
wxString path;
// Ask the user for the real name
path = FileNames::SelectFile(FileNames::Operation::_None,
path = FileNames::SelectFile(FileNames::Operation::Presets,
XO("Load VST Preset:"),
FileNames::DataDir(),
wxEmptyString,
wxT("preset"),
wxT("xml"),
{ {
XO("VST preset files"),