Fully restore ARDOUR::SoloIsolateControl state
This is part of a fix for bug #7025 which means the id property of PBD::Controllable is restored and a new id is not generated at first save.
This commit is contained in:
@@ -154,8 +154,12 @@ SoloIsolateControl::get_value () const
|
||||
}
|
||||
|
||||
int
|
||||
SoloIsolateControl::set_state (XMLNode const & node, int)
|
||||
SoloIsolateControl::set_state (XMLNode const & node, int version)
|
||||
{
|
||||
if (SlavableAutomationControl::set_state(node, version)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
XMLProperty const * prop;
|
||||
|
||||
if ((prop = node.property ("solo-isolated")) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user