mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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:
parent
ed5a9979ea
commit
acfa04d700
23 changed files with 42 additions and 37 deletions
|
|
@ -631,7 +631,6 @@ private:
|
|||
|
||||
boost::shared_ptr<ARDOUR::Stripable> master;
|
||||
|
||||
PBD::ScopedConnection port_reg_connection;
|
||||
void port_registration_handler();
|
||||
|
||||
enum ConnectionState { InputConnected = 0x1, OutputConnected = 0x2 };
|
||||
|
|
@ -640,7 +639,7 @@ private:
|
|||
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;
|
||||
void connected();
|
||||
|
||||
/* GUI */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue