AutomatableModel: fix error in loading connected controllers
This commit is contained in:
@@ -147,7 +147,7 @@ void AutomatableModel::loadSettings( const QDomElement& element, const QString&
|
||||
QDomNode connectionNode = element.namedItem( "connection" );
|
||||
if( connectionNode.isElement() )
|
||||
{
|
||||
QDomNode thisConnection = node.toElement().namedItem( name );
|
||||
QDomNode thisConnection = connectionNode.toElement().namedItem( name );
|
||||
if( thisConnection.isElement() )
|
||||
{
|
||||
setControllerConnection( new ControllerConnection( (Controller*)NULL ) );
|
||||
|
||||
Reference in New Issue
Block a user