Store and restore tech info toggle via settings file
This commit is contained in:
parent
c9a3a3ab03
commit
3a36e35903
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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…
Reference in New Issue
Block a user