13
0

Show VCA pane whan adding a VCA

This commit is contained in:
Robin Gareus 2019-03-01 18:00:11 +01:00
parent 6be7fa2d45
commit 9a0260148d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -4439,7 +4439,9 @@ ARDOUR_UI::add_route_dialog_response (int r)
session_add_midi_bus (route_group, count, name_template, strict_io, instrument, 0, order); session_add_midi_bus (route_group, count, name_template, strict_io, instrument, 0, order);
break; break;
case AddRouteDialog::VCAMaster: case AddRouteDialog::VCAMaster:
_session->vca_manager().create_vca (count, name_template); if (!_session->vca_manager().create_vca (count, name_template).empty ()) {
ActionManager::get_toggle_action ("Mixer", "ToggleVCAPane")->set_active (true);
}
break; break;
case AddRouteDialog::FoldbackBus: case AddRouteDialog::FoldbackBus:
session_add_foldback_bus (count, name_template); session_add_foldback_bus (count, name_template);