diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-23 21:32:53 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-23 21:33:29 +0200 |
commit | 5f2132e9cc7f4bdb403fb1e00ccccb281e2fffa5 (patch) | |
tree | 655b55d1c59af8766f4dc0c6f18b7fbcfaed2d59 /gtk2_ardour/route_ui.cc | |
parent | a96d64e4f372daab23cf0d4e532c50548b271ee5 (diff) |
Fix Route-template file suffix
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 2 |
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, |