diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-11 02:47:38 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-11 02:47:38 +0000 |
commit | 19ee77a74c1d1af839bcad05def18434e24698ca (patch) | |
tree | d3c7e8a8f116f25905b5775f64a0bce6dff48a6a /libs | |
parent | af94fd9971dcf9aef4ca76b2c347fac68ba1ddad (diff) |
Prevent Processor classes messing with names when setting state from XML. Fixes JACK-send loading from state.
git-svn-id: svn://localhost/ardour2/branches/3.0@8503 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/processor.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index e5616987c6..69d0f2408d 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -177,7 +177,10 @@ Processor::set_state (const XMLNode& node, int version) // may not exist for legacy 3.0 sessions if ((prop = node.property ("name")) != 0) { - set_name(prop->value()); + /* don't let derived classes have a crack at set_name, + as some (like Send) will screw with the one we suggest. + */ + Processor::set_name (prop->value()); } // may not exist for legacy 3.0 sessions |