Fix ToggleRoll (<space>) when auditioning
When auditioning is started, transport controls are disabled via `set_transport_sensitivity(false)`. This prevents <space> from being handled: DEBUG::Bindings: binding for Key 32 (space) state 0 : Transport/ToggleRoll - insensitive, skipped So the key event is passed on, and can reach the clip-picker treeview where <space> selects and/or activates a row, which re-starts audition. ARDOUR_UI::toggle_roll() cancels audition when audition is active, so this action should be sensitive, even while auditioning.
This commit is contained in:
@@ -323,7 +323,6 @@ ARDOUR_UI::install_actions ()
|
||||
|
||||
act = ActionManager::register_action (transport_actions, X_("ToggleRoll"), _("Start/Stop"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::toggle_roll), false, false));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
ActionManager::transport_sensitive_actions.push_back (act);
|
||||
act = ActionManager::register_action (transport_actions, X_("alternate-ToggleRoll"), _("Start/Stop"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::toggle_roll), false, false));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
ActionManager::transport_sensitive_actions.push_back (act);
|
||||
|
||||
Reference in New Issue
Block a user