diff options
author | David Robillard <d@drobilla.net> | 2006-06-12 17:57:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-12 17:57:01 +0000 |
commit | 0f86e6b4544aa89c59a1361bbe837f4b3bd5bd66 (patch) | |
tree | ed40d5df599d165a55e774d1ce99a94e4d18b9e3 /src/libs/client | |
parent | e3600c6bd795fabff12faa4352bf3ba76b324222 (diff) | |
download | ingen-0f86e6b4544aa89c59a1361bbe837f4b3bd5bd66.tar.gz ingen-0f86e6b4544aa89c59a1361bbe837f4b3bd5bd66.tar.bz2 ingen-0f86e6b4544aa89c59a1361bbe837f4b3bd5bd66.zip |
Fixed engine-side node destruction bug
git-svn-id: http://svn.drobilla.net/lad/grauph@34 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r-- | src/libs/client/PatchModel.cpp | 1 | ||||
-rw-r--r-- | src/libs/client/PatchModel.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/PatchModel.cpp b/src/libs/client/PatchModel.cpp index 90ffd38a..551b3d4c 100644 --- a/src/libs/client/PatchModel.cpp +++ b/src/libs/client/PatchModel.cpp @@ -80,6 +80,7 @@ PatchModel::remove_node(const string& name) if (i != m_nodes.end()) { //delete i->second; m_nodes.erase(i); + removed_node_sig.emit(name); return; } diff --git a/src/libs/client/PatchModel.h b/src/libs/client/PatchModel.h index bc794d25..6b3b212f 100644 --- a/src/libs/client/PatchModel.h +++ b/src/libs/client/PatchModel.h @@ -71,6 +71,7 @@ public: // Signals sigc::signal<void, CountedPtr<NodeModel> > new_node_sig; + sigc::signal<void, const string& > removed_node_sig; sigc::signal<void, CountedPtr<ConnectionModel> > new_connection_sig; sigc::signal<void, const string&, const string& > removed_connection_sig; |