summaryrefslogtreecommitdiff
path: root/gtk2_ardour/patch_change.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/patch_change.cc')
-rw-r--r--gtk2_ardour/patch_change.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/patch_change.cc b/gtk2_ardour/patch_change.cc
index ebad5518cf..601011d017 100644
--- a/gtk2_ardour/patch_change.cc
+++ b/gtk2_ardour/patch_change.cc
@@ -60,7 +60,8 @@ PatchChange::PatchChange(MidiRegionView& region,
height,
ARDOUR_UI::config()->color ("midi patch change outline"),
ARDOUR_UI::config()->color_mod ("midi patch change fill", "midi patch change fill"),
- ArdourCanvas::Duple (x, y));
+ ArdourCanvas::Duple (x, y),
+ true);
CANVAS_DEBUG_NAME (_flag, text);
@@ -164,7 +165,7 @@ PatchChange::event_handler (GdkEvent* ev)
switch (ev->type) {
case GDK_BUTTON_PRESS:
- if (e->current_mouse_mode() == Editing::MouseObject) {
+ if (e->current_mouse_mode() == Editing::MouseContent) {
if (Gtkmm2ext::Keyboard::is_delete_event (&ev->button)) {