13
0

L: during Route::set_name(), also rename direct outs

This commit is contained in:
Paul Davis 2024-06-01 07:59:40 -06:00
parent 18ae113b3c
commit 81d1ad5890

View File

@ -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;