mirror of
https://github.com/LMMS/lmms.git
synced 2025-12-31 18:47:59 -05:00
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
This commit is contained in:
@@ -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" ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user