summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchView.cpp')
-rw-r--r--src/gui/PatchView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp
index e81d16f7..efb37d11 100644
--- a/src/gui/PatchView.cpp
+++ b/src/gui/PatchView.cpp
@@ -134,7 +134,7 @@ PatchView::canvas_item_entered(Gnome::Canvas::Item* item)
{
NodeModule* m = dynamic_cast<NodeModule*>(item);
if (m)
- signal_object_entered.emit(m->node().get());
+ signal_object_entered.emit(m->block().get());
const Port* p = dynamic_cast<const Port*>(item);
if (p)
@@ -146,7 +146,7 @@ PatchView::canvas_item_left(Gnome::Canvas::Item* item)
{
NodeModule* m = dynamic_cast<NodeModule*>(item);
if (m) {
- signal_object_left.emit(m->node().get());
+ signal_object_left.emit(m->block().get());
return;
}