Fix solo/mute when loading old (4.x) sessions.
This commit is contained in:
parent
2562a5ce3b
commit
7a709f23f1
|
@ -145,7 +145,7 @@ Controllable::set_state (const XMLNode& node, int /*version*/)
|
||||||
set_id (node);
|
set_id (node);
|
||||||
|
|
||||||
if ((prop = node.property (X_("flags"))) != 0) {
|
if ((prop = node.property (X_("flags"))) != 0) {
|
||||||
_flags = (Flag) string_2_enum (prop->value(), _flags);
|
_flags = (Flag) ((_flags & Controllable::RealTime) | string_2_enum (prop->value(), _flags));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((prop = node.property (X_("value"))) != 0) {
|
if ((prop = node.property (X_("value"))) != 0) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user