Try adding parameter to open the import file dialog, but now working right at the moment

This commit is contained in:
xenakios
2018-03-03 22:19:02 +02:00
parent 9a17b7b6c6
commit 47bf763408
4 changed files with 19 additions and 1 deletions

View File

@ -383,6 +383,7 @@ void PaulstretchpluginAudioProcessorEditor::filesDropped(const StringArray & fil
void PaulstretchpluginAudioProcessorEditor::chooseFile()
{
processor.m_import_dlg_open = true;
String initiallocfn = processor.m_propsfile->m_props_file->getValue("importfilefolder",
File::getSpecialLocation(File::userHomeDirectory).getFullPathName());
File initialloc(initiallocfn);
@ -402,6 +403,7 @@ void PaulstretchpluginAudioProcessorEditor::chooseFile()
processor.m_propsfile->m_props_file->setValue("importfilefolder", resu.getParentDirectory().getFullPathName());
m_last_err = processor.setAudioFile(resu);
}
processor.m_import_dlg_open = false;
}
void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()