Exclude master-bus on monitor output connector

This commit is contained in:
Robin Gareus 2023-05-24 07:02:52 +02:00
parent c9f95a1259
commit 500a0c09e8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -598,7 +598,7 @@ IOButton::button_press (GdkEventButton* ev)
/* try adding the master bus first */
std::shared_ptr<Route> master = _route->session ().master_out ();
if (master) {
if (master && !_route->is_monitor ()) {
maybe_add_bundle_to_menu (master->input ()->bundle (), current, intended_type);
}
}