diff --git a/src/core/song_editor.cpp b/src/core/song_editor.cpp index b56ee799c..233174272 100644 --- a/src/core/song_editor.cpp +++ b/src/core/song_editor.cpp @@ -1406,7 +1406,7 @@ void songEditor::clearProject( void ) clearAllTracks(); eng()->getAutomationEditor()->setCurrentPattern( NULL ); - m_bpmSpinBox->getAutomationPattern()->clearValues(); + m_bpmSpinBox->getAutomationPattern()->clear(); m_masterVolumeSlider->clearAutomationValues(); m_masterPitchSlider->clearAutomationValues(); diff --git a/src/widgets/automatable_slider.cpp b/src/widgets/automatable_slider.cpp index 148d533f6..9adc244d8 100644 --- a/src/widgets/automatable_slider.cpp +++ b/src/widgets/automatable_slider.cpp @@ -220,7 +220,7 @@ int automatableSlider::logicValue( void ) void automatableSlider::clearAutomationValues( void ) { - m_knob->getAutomationPattern()->clearValues(); + m_knob->getAutomationPattern()->clear(); }