Browse Source

Store and restore tech info toggle via settings file

tags/1.0.1
xenakios 7 years ago
parent
commit
3a36e35903
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      Source/PluginEditor.cpp
  2. +1
    -0
      Source/PluginProcessor.cpp

+ 1
- 0
Source/PluginEditor.cpp View File

@@ -388,6 +388,7 @@ String juceversiontxt = String("JUCE ") + String(JUCE_MAJOR_VERSION) + "." + Str
if (r == 7) if (r == 7)
{ {
toggleBool(processor.m_show_technical_info); toggleBool(processor.m_show_technical_info);
processor.m_propsfile->m_props_file->setValue("showtechnicalinfo", processor.m_show_technical_info);
} }
} }




+ 1
- 0
Source/PluginProcessor.cpp View File

@@ -147,6 +147,7 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
m_reset_pars.push_back(p->getValue()); m_reset_pars.push_back(p->getValue());
setPreBufferAmount(2); setPreBufferAmount(2);
startTimer(1, 50); startTimer(1, 50);
m_show_technical_info = m_propsfile->m_props_file->getBoolValue("showtechnicalinfo", false);
} }


PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor() PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor()


Loading…
Cancel
Save