diff options
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 9ed46a092b..ef5fc526f6 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -379,6 +379,15 @@ Editor::mouse_mode_toggled (MouseMode m) Keyboard::magic_widget_drop_focus (); } + if (was_internal && !internal_editing()) { + /* drop any selected regions so that they in turn + * redraw any selected notes. This essentially the + * opposite of ::catch_up_on_midi_selection() called + * above. + */ + get_selection().clear_regions (); + } + update_all_enter_cursors (); MouseModeChanged (); /* EMIT SIGNAL */ |