mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Subscribe to pretty-port name changes (GUI)
This commit is contained in:
parent
21e66216be
commit
b2c4e71a45
13 changed files with 75 additions and 4 deletions
|
|
@ -1365,7 +1365,7 @@ private:
|
|||
PortColumns _port_columns;
|
||||
|
||||
Glib::RefPtr<Gtk::ListStore> _store;
|
||||
PBD::ScopedConnection _engine_connection;
|
||||
PBD::ScopedConnectionList _engine_connection;
|
||||
|
||||
void on_map ()
|
||||
{
|
||||
|
|
@ -1374,11 +1374,17 @@ private:
|
|||
invalidator (*this),
|
||||
boost::bind (<CPortSelectOption::update_port_combo, this),
|
||||
gui_context());
|
||||
|
||||
AudioEngine::instance()->PortPrettyNameChanged.connect (
|
||||
_engine_connection,
|
||||
invalidator (*this),
|
||||
boost::bind (<CPortSelectOption::update_port_combo, this),
|
||||
gui_context());
|
||||
}
|
||||
|
||||
void on_unmap ()
|
||||
{
|
||||
_engine_connection.disconnect ();
|
||||
_engine_connection.drop_connections ();
|
||||
}
|
||||
|
||||
void port_changed ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue