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.
This commit is contained in:
parent
3797d8c2f1
commit
441eaebd92
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user