summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-02-19 19:20:58 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-02-19 19:21:11 -0700
commit998b88b521437fca98d01c2e57558387d66402ba (patch)
treee01a51da21d29bd76396f15edddcc1ef1026bdf5 /libs/ardour/route.cc
parent585b61e58b9c1755bbd302b0e62934e66cef8cad (diff)
when inside Route::set_state() and calling set_name(), call the virtual method, rather than Route::set_name()
Without this, nothing in Track::set_name() is called, which means that tracks created from templates do not get their name set appropriately
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 9746c763fc..91c9a1a1cf 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2605,7 +2605,7 @@ Route::set_state (const XMLNode& node, int version)
std::string route_name;
if (node.get_property (X_("name"), route_name)) {
- Route::set_name (route_name);
+ set_name (route_name);
}
set_id (node);