From 956bf7d64dc8e5e241174250e39098614faa59ea Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Mar 2016 21:40:34 -0400 Subject: Update external graph ports when name is changed More generally, track property changes for all ports, not just controllable ports. --- src/gui/Port.cpp | 8 ++++---- 1 file 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( -- cgit v1.2.1