summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-03-14 21:40:34 -0400
committerDavid Robillard <d@drobilla.net>2016-03-14 21:40:34 -0400
commit956bf7d64dc8e5e241174250e39098614faa59ea (patch)
treeefd23f24892f2edb348451f14121fddc6addb148 /src
parent2d4a4dbec4ca321baee46f640429fc52b451eb47 (diff)
downloadingen-956bf7d64dc8e5e241174250e39098614faa59ea.tar.gz
ingen-956bf7d64dc8e5e241174250e39098614faa59ea.tar.bz2
ingen-956bf7d64dc8e5e241174250e39098614faa59ea.zip
Update external graph ports when name is changed
More generally, track property changes for all ports, not just controllable ports.
Diffstat (limited to 'src')
-rw-r--r--src/gui/Port.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index ca31e445..fd5e5a14 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -68,16 +68,16 @@ Port::Port(App& app,
if (app.can_control(pm.get())) {
show_control();
- pm->signal_property().connect(
- sigc::mem_fun(this, &Port::property_changed));
- pm->signal_property_removed().connect(
- sigc::mem_fun(this, &Port::property_removed));
pm->signal_value_changed().connect(
sigc::mem_fun(this, &Port::value_changed));
}
port_properties_changed();
+ pm->signal_property().connect(
+ sigc::mem_fun(this, &Port::property_changed));
+ pm->signal_property_removed().connect(
+ sigc::mem_fun(this, &Port::property_removed));
pm->signal_activity().connect(
sigc::mem_fun(this, &Port::activity));
pm->signal_disconnection().connect(