13
0

do not add "direct" to the name of direct out sends after a route rename

This commit is contained in:
Paul Davis 2024-07-09 09:52:42 -06:00
parent ea99222240
commit df515ab30a

View File

@ -4838,8 +4838,7 @@ Route::set_name (const string& str)
} }
/* One exception to the above rule: direct outs (LiveTrax) */ /* One exception to the above rule: direct outs (LiveTrax) */
if (_direct_outs) { if (_direct_outs) {
string do_name = string_compose (_("%1 direct"), newname); if (!_direct_outs->set_name (newname)) {
if (!_direct_outs->set_name (do_name)) {
return false; return false;
} }
} }