diff options
author | David Robillard <d@drobilla.net> | 2008-08-18 03:49:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-18 03:49:35 +0000 |
commit | af759288a2517f9acf4c28f79d9c43be0086a221 (patch) | |
tree | b5852382a750fa5f8a6bc60f27edf9881960374f /src/libs/gui/NodeModule.cpp | |
parent | 77d608d6ca282795b348a615932b1abbd47b0472 (diff) | |
download | ingen-af759288a2517f9acf4c28f79d9c43be0086a221.tar.gz ingen-af759288a2517f9acf4c28f79d9c43be0086a221.tar.bz2 ingen-af759288a2517f9acf4c28f79d9c43be0086a221.zip |
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
Diffstat (limited to 'src/libs/gui/NodeModule.cpp')
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index c38a898b..207bdd18 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -333,7 +333,8 @@ NodeModule::set_selected(bool b) { if (b != selected()) { Module::set_selected(b); - App::instance().engine()->set_property(_node->path(), "ingen:selected", b); + if (App::instance().signal()) + App::instance().engine()->set_property(_node->path(), "ingen:selected", b); } } |