Update Ctrl-surface MIDI port list when ports change

This is a better variant of bbb6851468, directly using
the GUI context without indirection.
This commit is contained in:
Robin Gareus 2021-02-04 06:19:37 +01:00
parent ed5a9979ea
commit acfa04d700
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
23 changed files with 42 additions and 37 deletions

View file

@ -183,7 +183,7 @@ private:
int connection_state;
bool connection_handler (boost::weak_ptr<ARDOUR::Port>, std::string name1, boost::weak_ptr<ARDOUR::Port>, std::string name2, bool yn);
PBD::ScopedConnectionList port_connections;
PBD::ScopedConnection _port_connection;
std::string _current_binding;
uint32_t _bank_size;