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
This commit is contained in:
@@ -333,6 +333,7 @@ automationPattern * automatableModel<T, EDIT_STEP_TYPE>::getAutomationPattern(
|
||||
if( !m_automationPattern )
|
||||
{
|
||||
m_automationPattern = new automationPattern( m_track, this );
|
||||
setFirstValue();
|
||||
syncAutomationPattern();
|
||||
}
|
||||
return( m_automationPattern );
|
||||
|
||||
Reference in New Issue
Block a user