From af759288a2517f9acf4c28f79d9c43be0086a221 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Aug 2008 03:49:35 +0000 Subject: More copy/paste and serialisation work. Don't die on invalid path for set_property and set_variable (return error to client). Working paste to subpatches, paste of connected patch ports and modules. git-svn-id: http://svn.drobilla.net/lad/ingen@1428 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/PatchPortModule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs/gui/PatchPortModule.cpp') diff --git a/src/libs/gui/PatchPortModule.cpp b/src/libs/gui/PatchPortModule.cpp index b23ac5c7..76bc8812 100644 --- a/src/libs/gui/PatchPortModule.cpp +++ b/src/libs/gui/PatchPortModule.cpp @@ -147,7 +147,8 @@ PatchPortModule::set_selected(bool b) { if (b != selected()) { Module::set_selected(b); - App::instance().engine()->set_property(_port->path(), "ingen:selected", b); + if (App::instance().signal()) + App::instance().engine()->set_property(_port->path(), "ingen:selected", b); } } -- cgit v1.2.1