13
0

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
This commit is contained in:
Carl Hetherington 2011-01-11 02:47:38 +00:00
parent af94fd9971
commit 19ee77a74c

View File

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