save/load automation editor state
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@197 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1528,6 +1528,12 @@ void FASTCALL songEditor::loadProject( const QString & _file_name )
|
||||
eng()->getPianoRoll()->restoreState(
|
||||
node.toElement() );
|
||||
}
|
||||
else if( node.nodeName() ==
|
||||
eng()->getAutomationEditor()->nodeName() )
|
||||
{
|
||||
eng()->getAutomationEditor()->restoreState(
|
||||
node.toElement() );
|
||||
}
|
||||
else if( node.nodeName() ==
|
||||
eng()->getProjectNotes()->nodeName() )
|
||||
{
|
||||
@@ -1579,6 +1585,7 @@ bool songEditor::saveProject( void )
|
||||
( (journallingObject *)( this ) )->saveState( mmp, mmp.content() );
|
||||
|
||||
eng()->getPianoRoll()->saveState( mmp, mmp.content() );
|
||||
eng()->getAutomationEditor()->saveState( mmp, mmp.content() );
|
||||
( (journallingObject *)( eng()->getProjectNotes() ) )->saveState( mmp,
|
||||
mmp.content() );
|
||||
m_playPos[PLAY_SONG].m_timeLine->saveState( mmp, mmp.content() );
|
||||
|
||||
Reference in New Issue
Block a user