diff options
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 7e098cab38..a0e6384b23 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -424,6 +424,16 @@ ARDOUR_UI::parameter_changed (std::string p) } else if (p == "waveform-cache-size") { /* GUI option has units of megabytes; image cache uses units of bytes */ ArdourCanvas::WaveView::set_image_cache_size (UIConfiguration::instance().get_waveform_cache_size() * 1048576); + } else if (p == "action-table-columns") { + const uint32_t cols = UIConfiguration::instance().get_action_table_columns (); + for (int i = 0; i < 9; ++i) { + const int col = i / 3; + if (cols & (1<<col)) { + action_script_call_btn[i].show(); + } else { + action_script_call_btn[i].hide(); + } + } } } |