From 57381ee6b93ad6a991329c2a7aae0b2d84a3e7dd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 20:30:01 +0000 Subject: Fix crash on patch load. Fixes ticket #369. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2002 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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) { -- cgit v1.2.1