Merge pull request #2334 from michaelgregorius/2333-inconsistent-tension-knob

Fixes an inconsistent behavior of the tension knob (#2333)
This commit is contained in:
Colin Wallace
2015-09-10 02:07:58 +00:00

View File

@@ -2265,12 +2265,15 @@ void AutomationEditorWindow::setCurrentPattern(AutomationPattern* pattern)
{
case AutomationPattern::DiscreteProgression:
m_discreteAction->setChecked(true);
m_tensionKnob->setEnabled(false);
break;
case AutomationPattern::LinearProgression:
m_linearAction->setChecked(true);
m_tensionKnob->setEnabled(false);
break;
case AutomationPattern::CubicHermiteProgression:
m_cubicHermiteAction->setChecked(true);
m_tensionKnob->setEnabled(true);
break;
}