[Summary] Reworked master track behavior according to PRD

This commit is contained in:
GZharun 2014-12-02 16:57:40 +02:00
parent 33349b260d
commit dd78cce7b7
10 changed files with 56 additions and 130 deletions

View file

@ -279,6 +279,7 @@ Editor::register_actions ()
act = reg_sens (editor_actions, "DeleteSelectedTracks", _("Delete Selected"), sigc::mem_fun(ARDOUR_UI::instance(), &ARDOUR_UI::delete_selected_tracks));
ActionManager::track_selection_sensitive_actions.push_back (act);
ActionManager::actions_forbiden_for_master_track.push_back (act);
act = reg_sens (editor_actions, "move-selected-tracks-up", _("Move Up"), sigc::bind (sigc::mem_fun(*_routes, &EditorRoutes::move_selected_tracks), true));
ActionManager::track_selection_sensitive_actions.push_back (act);
act = reg_sens (editor_actions, "move-selected-tracks-down", _("Move Down"), sigc::bind (sigc::mem_fun(*_routes, &EditorRoutes::move_selected_tracks), false));