Add missing set_state of _mute_control; fixes #3959.
authorCarl Hetherington <carl@carlh.net>
Sat, 16 Jun 2012 19:00:38 +0000 (19:00 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 16 Jun 2012 19:00:38 +0000 (19:00 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12742 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/route.cc

index 318524d8ed3bfcedeec544f32ccdb86b1c59f30a..edc44aeb927e7dbf2b025933e58648f9314f9011 100644 (file)
@@ -2127,6 +2127,8 @@ Route::set_state (const XMLNode& node, int version)
                } else if (child->name() == Controllable::xml_node_name && (prop = child->property("name")) != 0) {
                        if (prop->value() == "solo") {
                                _solo_control->set_state (*child, version);
+                       } else if (prop->value() == "mute") {
+                               _mute_control->set_state (*child, version);
                        }
 
                } else if (child->name() == X_("RemoteControl")) {