diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-02 20:56:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-02 20:56:33 +0000 |
commit | 159b8face74f8ba8da5e1e4225aed0c384ac9dc2 (patch) | |
tree | 77ff0006986f8e4d72761da328978e57df9ff45c /gtk2_ardour/editor_mouse.cc | |
parent | 67e842bf4c5a9bab0ef3532a680c81e826ea4940 (diff) |
allow button release events to be processed for region selection ops
git-svn-id: svn://localhost/ardour2/branches/3.0@13591 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index ad50f744ce..97cbc4a9ff 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -599,7 +599,7 @@ Editor::button_selection (ArdourCanvas::Item* /*item*/, GdkEvent* event, ItemTyp switch (item_type) { case RegionItem: if (press) { - if ( mouse_mode != MouseRange ) { + if (mouse_mode != MouseRange) { set_selected_regionview_from_click (press, op); } else { /* don't change the selection unless the @@ -611,6 +611,10 @@ Editor::button_selection (ArdourCanvas::Item* /*item*/, GdkEvent* event, ItemTyp set_selected_track_as_side_effect (Selection::Set); } } + } else { + if (mouse_mode != MouseRange) { + set_selected_regionview_from_click (press, op); + } } break; |