Merge pull request #408 from diizy/stable-0.4

Fix bug in AutomatableModel, also: save as icon
This commit is contained in:
Tobias Doerffel
2014-03-04 23:38:51 +01:00
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 865 B

View File

@@ -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 ) );