diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-09 17:03:42 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-09 17:03:42 +0100 |
commit | 08353095dfee421f299d30d5d91259bc2df7e19d (patch) | |
tree | 9d43fc074de023d7a0e9c6a68abf96e17b85b539 | |
parent | 8d83df72579dc8d2d7e10ec833b34b5e156100db (diff) |
This is the wrong approach to this problem.5.6
Revert "3 actions (trim-front, trim-back, set-sync-position) do not need to be region-selection sensitive."
This reverts commit 4aaf3fcb95e280a4348bced300553d4166f72a71.
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 628ab1c9a1..25fc1afcd9 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -1956,13 +1956,10 @@ Editor::register_region_actions () /* PART 3: actions that operate on the selection and also require the edit point location */ + reg_sens (_region_actions, "set-region-sync-position", _("Set Sync Position"), sigc::mem_fun (*this, &Editor::set_region_sync_position)); reg_sens (_region_actions, "place-transient", _("Place Transient"), sigc::mem_fun (*this, &Editor::place_transient)); - - /* These 3 do not need to be senstive to region selection */ - - myactions.register_action (_region_actions, "set-region-sync-position", _("Set Sync Position"), sigc::mem_fun (*this, &Editor::set_region_sync_position)); - myactions.register_action (_region_actions, "trim-front", _("Trim Start at Edit Point"), sigc::mem_fun (*this, &Editor::trim_region_front)); - myactions.register_action (_region_actions, "trim-back", _("Trim End at Edit Point"), sigc::mem_fun (*this, &Editor::trim_region_back)); + reg_sens (_region_actions, "trim-front", _("Trim Start at Edit Point"), sigc::mem_fun (*this, &Editor::trim_region_front)); + reg_sens (_region_actions, "trim-back", _("Trim End at Edit Point"), sigc::mem_fun (*this, &Editor::trim_region_back)); reg_sens ( _region_actions, |