summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index feeea3a793..9d6a295578 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -1900,7 +1900,7 @@ RouteUI::save_as_template_dialog_response (int response, SaveTemplateDialog* d)
if (response == RESPONSE_ACCEPT) {
const string name = d->get_template_name ();
const string desc = d->get_description ();
- const string path = Glib::build_filename(ARDOUR::user_route_template_directory (), name);
+ const string path = Glib::build_filename(ARDOUR::user_route_template_directory (), name + ARDOUR::template_suffix);
if (Glib::file_test (path, Glib::FILE_TEST_EXISTS)) { /* file already exists. */
bool overwrite = overwrite_file_dialog (*d,