13
0

do not clear selection when clicking on canvas in internal mode

This commit is contained in:
Paul Davis 2020-05-05 14:10:36 -06:00
parent feb689d220
commit 505bd41ad4

View File

@ -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();