OK, it's not going to work...
This commit is contained in:
parent
47bf763408
commit
e5825f52dc
@ -383,14 +383,14 @@ void PaulstretchpluginAudioProcessorEditor::filesDropped(const StringArray & fil
|
||||
|
||||
void PaulstretchpluginAudioProcessorEditor::chooseFile()
|
||||
{
|
||||
processor.m_import_dlg_open = true;
|
||||
toFront(true);
|
||||
String initiallocfn = processor.m_propsfile->m_props_file->getValue("importfilefolder",
|
||||
File::getSpecialLocation(File::userHomeDirectory).getFullPathName());
|
||||
File initialloc(initiallocfn);
|
||||
String filterstring = processor.m_afm->getWildcardForAllFormats();
|
||||
FileChooser myChooser("Please select audio file...",
|
||||
initialloc,
|
||||
filterstring,true);
|
||||
filterstring,false);
|
||||
if (myChooser.browseForFileToOpen())
|
||||
{
|
||||
File resu = myChooser.getResult();
|
||||
|
@ -795,10 +795,10 @@ void PaulstretchpluginAudioProcessor::timerCallback(int id)
|
||||
{
|
||||
if (id == 1)
|
||||
{
|
||||
if (*getBoolParameter(cpi_import_file)==true)
|
||||
if (*getBoolParameter(cpi_import_file)==true && m_import_dlg_open == false)
|
||||
{
|
||||
m_import_dlg_open = true;
|
||||
*getBoolParameter(cpi_import_file) = false;
|
||||
if (m_import_dlg_open == false)
|
||||
{
|
||||
callGUI(this, [](PaulstretchpluginAudioProcessorEditor* ed)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user