diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-06 17:56:18 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-06 17:56:23 -0400 |
commit | 803853b4a43582f8d89542d0b3ec58e972826f64 (patch) | |
tree | 99ed6cfe2fb26efcee2bdd1d1b0d5be740f15a16 /gtk2_ardour/editor_actions.cc | |
parent | 537b3a2a0e34f1e49d47b8a51d08c690e02f1454 (diff) |
rationalize incorrect design for removing tracks.
Still requires a way to make this work correctly from the mixer window
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 1e104c1fdd..322a823ff2 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -401,11 +401,9 @@ Editor::register_actions () act = reg_sens (editor_actions, "toggle-track-active", _("Toggle Active"), (sigc::mem_fun(*this, &Editor::toggle_tracks_active))); ActionManager::track_selection_sensitive_actions.push_back (act); - if (Profile->get_sae()) { - act = reg_sens (editor_actions, "remove-track", _("Delete"), (sigc::mem_fun(*this, &Editor::remove_tracks))); - } else { - act = reg_sens (editor_actions, "remove-track", _("Remove"), (sigc::mem_fun(*this, &Editor::remove_tracks))); - } + act = reg_sens (editor_actions, "remove-track", _("Remove"), (sigc::mem_fun(*this, &Editor::remove_tracks))); + /* not selection sensitive? */ + ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "fit-selection", _("Fit Selection (Vertical)"), sigc::mem_fun(*this, &Editor::fit_selection)); |