diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-20 15:44:38 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2016-09-20 15:52:31 +1000 |
commit | 441eaebd92f815dd5bc304e3788e2fd0310667d8 (patch) | |
tree | e1c0c75d932dbd7bbfd91453853a15488ee64d27 /libs/ardour/route.cc | |
parent | 3797d8c2f16c67b75972e2f84718ea6b2b64c9de (diff) |
Restore ARDOUR::MuteControl state, fixes bug #7025
This should be the final 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.
I'm assuming this was a typo, comparing with the wrong name meant the state of
the MuteControl was never being restored. This also fixes restoring bindings
associated MuteControl instances.
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 33a6c13080..3d34b92d2c 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2460,7 +2460,7 @@ Route::set_state (const XMLNode& node, int version) _solo_safe_control->set_state (*child, version); } else if (prop->value() == _solo_isolate_control->name()) { _solo_isolate_control->set_state (*child, version); - } else if (prop->value() == _solo_control->name()) { + } else if (prop->value() == _mute_control->name()) { _mute_control->set_state (*child, version); } else if (prop->value() == _phase_control->name()) { _phase_control->set_state (*child, version); |