Disable/enable dry playrate slider according to stretch bypass state

This commit is contained in:
xenakios 2018-08-20 15:57:59 +03:00
parent 8d008e5d2e
commit 3a321c7d96

View File

@ -447,6 +447,7 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id)
processor.m_free_filter_envelope->updateMinMaxValues(); processor.m_free_filter_envelope->updateMinMaxValues();
m_free_filter_component.repaint(); m_free_filter_component.repaint();
m_spec_order_ed.repaint(); m_spec_order_ed.repaint();
m_parcomps[cpi_dryplayrate]->setEnabled(*processor.getBoolParameter(cpi_bypass_stretch));
//if (m_wavefilter_tab.getCurrentTabIndex() != processor.m_cur_tab_index) //if (m_wavefilter_tab.getCurrentTabIndex() != processor.m_cur_tab_index)
// m_wavefilter_tab.setCurrentTabIndex(processor.m_cur_tab_index, false); // m_wavefilter_tab.setCurrentTabIndex(processor.m_cur_tab_index, false);
} }