summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-29 16:27:19 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-29 16:27:27 -0600
commite9e4792a99783df3b8dfdcbd5954926d7d1b9cee (patch)
treef02b051a20c3b9789a724796d82a7b346ea74bf9 /gtk2_ardour
parentd7072eda01a3f7e519894af4e6441921ae18e211 (diff)
only activate MIDI editing bindings if in actual internal edit mode.
Draw mode does not as internal editing for these purposes
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_mouse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index 2437dc31b8..9ed46a092b 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -347,7 +347,7 @@ Editor::mouse_mode_toggled (MouseMode m)
update_time_selection_display ();
- if (internal_editing()) {
+ if (mouse_mode == Editing::MouseContent) {
/* reinstate any existing MIDI note (and by extension, MIDI
* region) selection for internal edit mode. This allows a user