diff options
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; |