diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-10 22:12:28 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-15 20:07:49 +0100 |
commit | 2cc94f88801fa98e7b06d782903ab48446d08287 (patch) | |
tree | 7f03877c224521160d2a6a2eaa1cf8e2109b8175 /gtk2_ardour/editor.h | |
parent | 213cc1d320559c090fd2bc1748e6365382672888 (diff) |
tentative steps in trying to fix region action sensitivity
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 46562a76b8..4b48b9a7f7 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -1845,7 +1845,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void region_selection_changed (); sigc::connection editor_regions_selection_changed_connection; void sensitize_all_region_actions (bool); - void sensitize_the_right_region_actions (); + void sensitize_the_right_region_actions (bool from_context_menu, bool from_outside_canvas); bool _all_region_actions_sensitized; /** Flag to block region action handlers from doing what they normally do; * I tried Gtk::Action::block_activate() but this doesn't work (ie it doesn't @@ -2143,7 +2143,9 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void get_regions_at (RegionSelection&, framepos_t where, const TrackViewList& ts) const; void get_regions_after (RegionSelection&, framepos_t where, const TrackViewList& ts) const; - RegionSelection get_regions_from_selection_and_edit_point (); + RegionSelection get_regions_from_selection_and_edit_point (Editing::EditIgnoreOption = Editing::EDIT_IGNORE_NONE, + bool use_context_click = false, + bool from_outside_canvas = false); RegionSelection get_regions_from_selection_and_entered () const; void start_updating_meters (); |