summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 20:30:01 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 20:30:01 +0000
commit57381ee6b93ad6a991329c2a7aae0b2d84a3e7dd (patch)
tree37011b2dd9899f3c271cd7267c67164bd2a197d1 /src/gui
parent76500fc464ffa1cdeec0d90c466783fe1b3ac07d (diff)
downloadingen-57381ee6b93ad6a991329c2a7aae0b2d84a3e7dd.tar.gz
ingen-57381ee6b93ad6a991329c2a7aae0b2d84a3e7dd.tar.bz2
ingen-57381ee6b93ad6a991329c2a7aae0b2d84a3e7dd.zip
Fix crash on patch load.
Fixes ticket #369. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2002 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 6ec1a5d6..97932814 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -198,7 +198,7 @@ NodeModule::embed_gui(bool embed)
for (NodeModel::Ports::const_iterator p = _node->ports().begin();
p != _node->ports().end(); ++p)
if ((*p)->type().is_control() && (*p)->is_output())
- App::instance().engine()->set_property((*p)->path(), "ingen:broadcast", true);
+ App::instance().engine()->set_variable((*p)->path(), "ingen:broadcast", true);
}
} else { // un-embed
@@ -208,7 +208,7 @@ NodeModule::embed_gui(bool embed)
for (NodeModel::Ports::const_iterator p = _node->ports().begin(); p != _node->ports().end(); ++p)
if ((*p)->type().is_control() && (*p)->is_output())
- App::instance().engine()->set_property((*p)->path(), "ingen:broadcast", false);
+ App::instance().engine()->set_variable((*p)->path(), "ingen:broadcast", false);
}
if (embed && _embed_item) {