From ee04ea3c74386cca229039b7386fe0a9c8c794b6 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 8 Mar 2008 09:22:05 +0000 Subject: [PATCH] fixed missing automationPattern-initialization (i.e. setFirstValue()-call) which made automation-editor not work properly if no events were drawn so far git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@777 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/automatable_model_templates.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/automatable_model_templates.h b/include/automatable_model_templates.h index 18691ed00..deafc969a 100644 --- a/include/automatable_model_templates.h +++ b/include/automatable_model_templates.h @@ -333,6 +333,7 @@ automationPattern * automatableModel::getAutomationPattern( if( !m_automationPattern ) { m_automationPattern = new automationPattern( m_track, this ); + setFirstValue(); syncAutomationPattern(); } return( m_automationPattern );