mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Do not allow to deactivate master-bus
This commit is contained in:
parent
1aca71e22b
commit
2796d7250b
2 changed files with 11 additions and 3 deletions
|
|
@ -1816,7 +1816,11 @@ RouteUI::set_route_active (bool a, bool apply_to_selection)
|
|||
{
|
||||
if (apply_to_selection) {
|
||||
ARDOUR_UI::instance()->the_editor().get_selection().tracks.foreach_route_ui (boost::bind (&RouteUI::set_route_active, _1, a, false));
|
||||
} else {
|
||||
} else if (!is_master ()
|
||||
#ifdef MIXBUS
|
||||
&& !_route->mixbus()
|
||||
#endif
|
||||
) {
|
||||
_route->set_active (a, this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue