summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-05-05 17:58:32 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-05-05 17:58:32 -0600
commit1d33ed5acab6ec0b2d2b0ded4bbc646571668d3d (patch)
tree25fd989e5968c1b43ce64d351371f16126bb5187 /gtk2_ardour
parent8dfb49f446bb5e7ba01b1bf0c426a2865581c34d (diff)
MIDI bindings etc. should work while in draw mode, not just internal edit
The only real difference is in what the mouse does, so keys should work the same
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 ef5fc526f6..6be13c03a6 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 (mouse_mode == Editing::MouseContent) {
+ if (internal_editing()) {
/* reinstate any existing MIDI note (and by extension, MIDI
* region) selection for internal edit mode. This allows a user