mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
re-enable group settings according to it's state. for some reason, set_state doesn't work on this. Probably better to do it like this anyways.
This commit is contained in:
parent
d9118efc67
commit
d2dc50e5d0
1 changed files with 15 additions and 2 deletions
|
|
@ -383,9 +383,22 @@ void MixerSnapshot::recall()
|
|||
|
||||
uint32_t color;
|
||||
state.node.get_property(X_("rgba"), color);
|
||||
|
||||
|
||||
bool gain, mute, solo, recenable, select, route_active, monitoring;
|
||||
state.node.get_property(X_("used-to-share-gain"), gain);
|
||||
state.node.get_property(X_("mute"), mute);
|
||||
state.node.get_property(X_("recenable"), recenable);
|
||||
state.node.get_property(X_("select"), select);
|
||||
state.node.get_property(X_("route-active"), route_active);
|
||||
state.node.get_property(X_("monitoring"), monitoring);
|
||||
group->set_gain(gain);
|
||||
group->set_mute(mute);
|
||||
group->set_solo(solo);
|
||||
group->set_recenable(recenable);
|
||||
group->set_select(select);
|
||||
group->set_route_active(route_active);
|
||||
group->set_monitoring(monitoring);
|
||||
group->set_color(color);
|
||||
group->set_state(state.node, Stateful::loading_state_version);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue