Load/save automationPattern position. Allow dragging autoViews directly onto automationTrack

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1204 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock committed 2008-06-29 10:12:02 +00:00
1 parent 30aea72c9c
commit 8a5f5f9fdf
6 files changed
+51 -18

No files matched your search

-2
View File
@@ -81,13 +81,11 @@ void peakController::saveSettings( QDomDocument & _doc, QDomElement & _this )
void peakController::loadSettings( const QDomElement & _this )
{
printf("peakController loadSettings\n");
int effectId = _this.attribute( "effectId" ).toInt();
peakControllerEffectVector::iterator i;
for( i = s_effects.begin(); i != s_effects.end(); ++i )
{
printf( "%d %d\n", (*i)->m_effectId , effectId );
if( (*i)->m_effectId == effectId )
{
if( (*i)->m_effectId == effectId )