13
0

use user-specified insertion point when adding new tracks/busses with a template

This commit is contained in:
Paul Davis 2016-08-22 09:44:48 -04:00
parent 39e9add5c0
commit 289ad1f3c7

View File

@ -4063,9 +4063,9 @@ ARDOUR_UI::add_route_dialog_finished (int r)
if (!template_path.empty()) {
if (add_route_dialog->name_template_is_default()) {
_session->new_route_from_template (count, PresentationInfo::max_order, template_path, string());
_session->new_route_from_template (count, order, template_path, string());
} else {
_session->new_route_from_template (count, PresentationInfo::max_order, template_path, add_route_dialog->name_template());
_session->new_route_from_template (count, order, template_path, add_route_dialog->name_template());
}
return;
}