From 81d1ad58902af64f3801fc3ac14fc9b75b2b6513 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 1 Jun 2024 07:59:40 -0600 Subject: [PATCH] L: during Route::set_name(), also rename direct outs --- libs/ardour/route.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 3476d0595e..77a19fff80 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4829,6 +4829,13 @@ Route::set_name (const string& str) return false; } } + /* One exception to the above rule: direct outs (LiveTrax) */ + if (_direct_outs) { + string do_name = string_compose (_("%1 direct"), newname); + if (!_direct_outs->set_name (do_name)) { + return false; + } + } } return ret;