Subscribe to pretty-port name changes (GUI)

This commit is contained in:
Robin Gareus 2021-01-13 19:04:44 +01:00
parent 21e66216be
commit b2c4e71a45
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
13 changed files with 75 additions and 4 deletions

View file

@ -170,6 +170,8 @@ PortMatrix::init ()
/* and also ports */
_session->engine().PortRegisteredOrUnregistered.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_global_ports, this), gui_context());
_session->engine().PortPrettyNameChanged.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_all_ports, this), gui_context());
/* watch for route order keys changing, which changes the order of things in our global ports list(s) */
PresentationInfo::Change.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_global_ports_proxy, this), gui_context());