Merge pull request #2334 from michaelgregorius/2333-inconsistent-tension-knob
Fixes an inconsistent behavior of the tension knob (#2333)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user