13
0

Fix solo/mute when loading old (4.x) sessions.

This commit is contained in:
Robin Gareus 2017-03-10 21:42:02 +01:00
parent 2562a5ce3b
commit 7a709f23f1

View File

@ -145,7 +145,7 @@ Controllable::set_state (const XMLNode& node, int /*version*/)
set_id (node);
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) {