From 3a321c7d961b6f162ac731c216be8908c7c4a15f Mon Sep 17 00:00:00 2001 From: xenakios Date: Mon, 20 Aug 2018 15:57:59 +0300 Subject: [PATCH] Disable/enable dry playrate slider according to stretch bypass state --- Source/PluginEditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 4da6926..ee3f73c 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -447,6 +447,7 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id) processor.m_free_filter_envelope->updateMinMaxValues(); m_free_filter_component.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) // m_wavefilter_tab.setCurrentTabIndex(processor.m_cur_tab_index, false); }