summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-08-22 09:41:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-08-22 09:41:59 -0400
commit39e9add5c03a9870c38092df8a1b8a02ef8cf8fe (patch)
tree22edfae60903b6e04287ecb51f5ed87b22aa3f6e /gtk2_ardour/ardour_ui.cc
parentcab3fc09de98bc5cec63fda421e78268bec1d816 (diff)
use insert at specification when duplicating tracks/busses
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index d1a14aed7b..d47723260e 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -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, template_path, string());
+ _session->new_route_from_template (count, PresentationInfo::max_order, template_path, string());
} else {
- _session->new_route_from_template (count, template_path, add_route_dialog->name_template());
+ _session->new_route_from_template (count, PresentationInfo::max_order, template_path, add_route_dialog->name_template());
}
return;
}