Don't force preset directory
This commit is contained in:
parent
4339632e25
commit
7cc1cf79ea
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue