projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e6e6cf
)
ArdourButton: Pick up initial action sensitivity
author
Robin Gareus
<robin@gareus.org>
Tue, 9 May 2017 22:15:44 +0000
(
00:15
+0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 9 May 2017 22:26:02 +0000
(
00:26
+0200)
e.g. monitor-section show/hide button
gtk2_ardour/ardour_button.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_button.cc
b/gtk2_ardour/ardour_button.cc
index 98c54e409f2ab9311303e0e5445168679dde483f..9aaf31ba766c80c0670eb08bf72074e33beda62f 100644
(file)
--- a/
gtk2_ardour/ardour_button.cc
+++ b/
gtk2_ardour/ardour_button.cc
@@
-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) {