From 22c877d4f9963f02306ff11a82e2cb77069b007a Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Fri, 13 Mar 2009 09:47:29 +0100 Subject: [PATCH] InstrumentTrack: in compat code of loadTrackSpecificSettings() also check for nodeName being "connection" - do not try to load an instrument called "connection" if one of the basic parameters of the InstrumentTrack is automated --- src/tracks/instrument_track.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tracks/instrument_track.cpp b/src/tracks/instrument_track.cpp index ef8c2a227..65f758a5b 100644 --- a/src/tracks/instrument_track.cpp +++ b/src/tracks/instrument_track.cpp @@ -790,7 +790,8 @@ void instrumentTrack::loadTrackSpecificSettings( const QDomElement & _this ) // compat code - if node-name doesn't match any known // one, we assume that it is an instrument-plugin // which we'll try to load - else if( automationPattern::classNodeName() != + else if( node.nodeName() != "connection" && + automationPattern::classNodeName() != node.nodeName() && !node.toElement().hasAttribute( "id" ) ) {