Keep I/O bundle names in sync with custom names

This fixes an issues that IObutton dropdown did not show
renamed inputs until after session-reload.
This commit is contained in:
Robin Gareus 2021-03-14 18:14:56 +01:00
parent c9241a5e71
commit bdec5aa88e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 0 deletions

View File

@ -570,6 +570,7 @@ Session::immediately_post_engine ()
/* TODO, connect in different thread. (PortRegisteredOrUnregistered may be in RT context)
* can we do that? */
_engine.PortRegisteredOrUnregistered.connect_same_thread (*this, boost::bind (&Session::setup_bundles, this));
_engine.PortPrettyNameChanged.connect_same_thread (*this, boost::bind (&Session::setup_bundles, this));
// set samplerate for plugins added early
// e.g from templates or MB channelstrip