Fix port-disconnection label w/pipewire (#9355, #9364)

This commit is contained in:
Robin Gareus
2023-06-09 19:15:58 +02:00
parent 72850d456f
commit 9486b4e6cb

View File

@@ -375,6 +375,9 @@ IOButtonBase::set_label (IOButtonBase& self, ARDOUR::Session& session, std::shar
++port) {
port_connections.clear ();
port->get_connections (port_connections);
if (port_connections.empty ()) {
continue;
}
string connection = port_connections.front ();
vector<string>::iterator i = connections.begin ();