diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-05 14:10:36 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-05 14:10:54 -0600 |
commit | 505bd41ad47d884d808793accef3123f3e59c29c (patch) | |
tree | b73b93f8b7214d7ff0310b68077754f2cc82f17e /gtk2_ardour | |
parent | feb689d22029190b18459150e525f548f0205d67 (diff) |
do not clear selection when clicking on canvas in internal mode
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_canvas_events.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_canvas_events.cc b/gtk2_ardour/editor_canvas_events.cc index 36b491c1d6..3978d96302 100644 --- a/gtk2_ardour/editor_canvas_events.cc +++ b/gtk2_ardour/editor_canvas_events.cc @@ -167,7 +167,7 @@ bool Editor::track_canvas_button_press_event (GdkEventButton *event) { _track_canvas->grab_focus(); - if (!Keyboard::is_context_menu_event (event)) { + if (!internal_editing() && !Keyboard::is_context_menu_event (event)) { begin_reversible_selection_op (X_("Clear Selection Click (track canvas)")); selection->clear (); commit_reversible_selection_op(); |