From d4aae03653dfa2f721f313de2e8021e8fa6b0eab Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 16 Jan 2016 20:29:14 -0600 Subject: scrolling actions should not require that a track selection exists --- gtk2_ardour/editor_actions.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 82ca08cdb0..38cb5ec860 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -281,13 +281,9 @@ Editor::register_actions () ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "scroll-tracks-up", _("Scroll Tracks Up"), sigc::mem_fun(*this, &Editor::scroll_tracks_up)); - ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "scroll-tracks-down", _("Scroll Tracks Down"), sigc::mem_fun(*this, &Editor::scroll_tracks_down)); - ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "step-tracks-up", _("Step Tracks Up"), sigc::mem_fun(*this, &Editor::scroll_tracks_up_line)); - ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "step-tracks-down", _("Step Tracks Down"), sigc::mem_fun(*this, &Editor::scroll_tracks_down_line)); - ActionManager::track_selection_sensitive_actions.push_back (act); reg_sens (editor_actions, "scroll-backward", _("Scroll Backward"), sigc::bind (sigc::mem_fun(*this, &Editor::scroll_backward), 0.8f)); reg_sens (editor_actions, "scroll-forward", _("Scroll Forward"), sigc::bind (sigc::mem_fun(*this, &Editor::scroll_forward), 0.8f)); -- cgit v1.2.3