diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-03 04:31:35 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-03 04:31:35 +0200 |
commit | b340dc7282a3629929cd91223fe3505b2ad92c58 (patch) | |
tree | f55c77ca15fc393324a3d8a60536bf48abdb0f20 /gtk2_ardour/ardour_ui_options.cc | |
parent | ab68ed413117ae6ae08a33d453f98f42857433dc (diff) |
Increase available Lua action script slots
* Reserve 32 dedicated editor actions for scripts
* Limit number of toolbar buttons
* Use dedicated binding-group for keyboard-shortcuts
* Tweak Preferences layout of toolbar pane
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 4be71ebb97..c11d71796d 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -449,7 +449,7 @@ ARDOUR_UI::parameter_changed (std::string p) VisibilityTracker::set_use_window_manager_visibility (UIConfiguration::instance().get_use_wm_visibility()); } else if (p == "action-table-columns") { const uint32_t cols = UIConfiguration::instance().get_action_table_columns (); - for (int i = 0; i < MAX_LUA_ACTION_SCRIPTS; ++i) { + for (int i = 0; i < MAX_LUA_ACTION_BUTTONS; ++i) { const int col = i / 2; if (cols & (1<<col)) { action_script_call_btn[i].show(); |