fix 2 action group registrations, and reorder initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@6037 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ff122d0fe8
commit
d7faaf7b02
@ -267,14 +267,13 @@ ARDOUR_UI::install_actions ()
|
|||||||
- otherwise do nothing
|
- otherwise do nothing
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ActionManager::register_action (transport_actions, X_("TransitionToRoll"), _("Transition To Roll"), bind (mem_fun (*editor, &PublicEditor::transition_to_rolling), true));
|
act = ActionManager::register_action (transport_actions, X_("TransitionToRoll"), _("Transition To Roll"), bind (mem_fun (*editor, &PublicEditor::transition_to_rolling), true));
|
||||||
ActionManager::session_sensitive_actions.push_back (act);
|
|
||||||
ActionManager::session_sensitive_actions.push_back (act);
|
ActionManager::session_sensitive_actions.push_back (act);
|
||||||
|
ActionManager::transport_sensitive_actions.push_back (act);
|
||||||
|
|
||||||
ActionManager::register_action (transport_actions, X_("TransitionToReverse"), _("Transition To Reverse"), bind (mem_fun (*editor, &PublicEditor::transition_to_rolling), false));
|
act = ActionManager::register_action (transport_actions, X_("TransitionToReverse"), _("Transition To Reverse"), bind (mem_fun (*editor, &PublicEditor::transition_to_rolling), false));
|
||||||
ActionManager::session_sensitive_actions.push_back (act);
|
ActionManager::session_sensitive_actions.push_back (act);
|
||||||
ActionManager::session_sensitive_actions.push_back (act);
|
ActionManager::transport_sensitive_actions.push_back (act);
|
||||||
|
|
||||||
|
|
||||||
act = ActionManager::register_action (transport_actions, X_("Loop"), _("Play Loop Range"), mem_fun(*this, &ARDOUR_UI::toggle_session_auto_loop));
|
act = ActionManager::register_action (transport_actions, X_("Loop"), _("Play Loop Range"), mem_fun(*this, &ARDOUR_UI::toggle_session_auto_loop));
|
||||||
ActionManager::session_sensitive_actions.push_back (act);
|
ActionManager::session_sensitive_actions.push_back (act);
|
||||||
|
@ -57,8 +57,8 @@ Drag::Drag (Editor* e, ArdourCanvas::Item* i)
|
|||||||
, _grab_frame (0)
|
, _grab_frame (0)
|
||||||
, _last_pointer_frame (0)
|
, _last_pointer_frame (0)
|
||||||
, _current_pointer_frame (0)
|
, _current_pointer_frame (0)
|
||||||
, _had_movement (false)
|
|
||||||
, _have_transaction (false)
|
, _have_transaction (false)
|
||||||
|
, _had_movement (false)
|
||||||
, _move_threshold_passed (false)
|
, _move_threshold_passed (false)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user