Browse Source

OK, it's not going to work...

tags/1.1.0
xenakios 7 years ago
parent
commit
e5825f52dc
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      Source/PluginEditor.cpp
  2. +2
    -2
      Source/PluginProcessor.cpp

+ 2
- 2
Source/PluginEditor.cpp View File

@@ -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();


+ 2
- 2
Source/PluginProcessor.cpp View File

@@ -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…
Cancel
Save