summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r--src/gui/Port.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 8ae512d9..6283df86 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -55,7 +55,7 @@ Port::Port(
delete _menu;
_menu = NULL;
- pm->signal_renamed.connect(sigc::mem_fun(this, &Port::renamed));
+ pm->signal_moved.connect(sigc::mem_fun(this, &Port::moved));
if (pm->type().is_control()) {
set_toggled(pm->is_toggle());
@@ -97,7 +97,7 @@ Port::create_menu()
void
-Port::renamed()
+Port::moved()
{
set_name(model()->path().name());
module().lock()->resize();