summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_dependents.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-14 15:06:24 +0200
committerRobin Gareus <robin@gareus.org>2016-05-14 15:16:23 +0200
commit4d74b5e42074300c77d48e0c327218387f0ec361 (patch)
tree90a40e10f9a007583f19eaa201b96d53a7981fe7 /gtk2_ardour/ardour_ui_dependents.cc
parent15722b957c3fef2cc833b2b258a502409c7fbbc2 (diff)
action script GUI details (sensitivity + tooltip)
Diffstat (limited to 'gtk2_ardour/ardour_ui_dependents.cc')
-rw-r--r--gtk2_ardour/ardour_ui_dependents.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc
index 1453732a11..3aad35ac06 100644
--- a/gtk2_ardour/ardour_ui_dependents.cc
+++ b/gtk2_ardour/ardour_ui_dependents.cc
@@ -309,6 +309,7 @@ ARDOUR_UI::setup_windows ()
assert (act);
action_script_call_btn[i].set_text (string_compose ("%1", i+1));
action_script_call_btn[i].set_related_action (act);
+ action_script_call_btn[i].set_sensitive (act->get_sensitive ());
const int row = i % 3;
const int col = i / 3;
action_script_table.attach (action_script_call_btn[i], col, col + 1, row, row + 1, EXPAND, EXPAND, 1, 1);