ArdourButton: Pick up initial action sensitivity
e.g. monitor-section show/hide button
This commit is contained in:
parent
0e6e6cfde6
commit
7b0ac0e20a
@ -978,6 +978,7 @@ ArdourButton::set_related_action (RefPtr<Action> act)
|
||||
if (_action) {
|
||||
|
||||
action_tooltip_changed ();
|
||||
action_sensitivity_changed ();
|
||||
|
||||
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (_action);
|
||||
if (tact) {
|
||||
|
Loading…
Reference in New Issue
Block a user