13
0

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:
Paul Davis 2009-11-08 18:02:03 +00:00
parent ff122d0fe8
commit d7faaf7b02
2 changed files with 5 additions and 6 deletions

View File

@ -267,14 +267,13 @@ ARDOUR_UI::install_actions ()
- otherwise do nothing
*/
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);
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::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::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));
ActionManager::session_sensitive_actions.push_back (act);

View File

@ -57,8 +57,8 @@ Drag::Drag (Editor* e, ArdourCanvas::Item* i)
, _grab_frame (0)
, _last_pointer_frame (0)
, _current_pointer_frame (0)
, _had_movement (false)
, _have_transaction (false)
, _had_movement (false)
, _move_threshold_passed (false)
{