Add option to en/disable showing automation-lane on touch

This commit is contained in:
Robin Gareus 2021-02-08 19:45:37 +01:00
parent bd8c26a059
commit 01bb38d99e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 50 additions and 3 deletions

View file

@ -446,6 +446,8 @@ Editor::register_actions ()
ActionManager::register_toggle_action (editor_actions, "toggle-stationary-playhead", _("Stationary Playhead"), (mem_fun(*this, &Editor::toggle_stationary_playhead)));
ActionManager::register_toggle_action (editor_actions, "show-touched-automation", _("Show Automation Lane on Touch"), (mem_fun(*this, &Editor::toggle_show_touched_automation)));
act = reg_sens (editor_actions, "insert-time", _("Insert Time"), (sigc::mem_fun(*this, &Editor::do_insert_time)));
ActionManager::track_selection_sensitive_actions.push_back (act);
act = ActionManager::register_action (editor_actions, "remove-time", _("Remove Time"), (mem_fun(*this, &Editor::do_remove_time)));