From ed5091d7ae47cd4fcb2369b4799fc99f1f41efe8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 21 Aug 2016 21:41:57 -0400 Subject: [PATCH] editing plugin with generic GUI has a tooltip saying it uses the primary modifier. Make it so --- gtk2_ardour/processor_box.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 3590c280d6..0f7e37a203 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1548,9 +1548,11 @@ ProcessorEntry::PluginDisplay::on_button_press_event (GdkEventButton *ev) // select processor, then call (private) //_entry._parent->processor_button_press_event (ev, &_entry); if (Keyboard::is_edit_event (ev) || (ev->button == 1 && ev->type == GDK_2BUTTON_PRESS)) { - if (Keyboard::modifier_state_equals (ev->state, Keyboard::SecondaryModifier)) { + if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) { + cerr << "Open generic\n"; _entry._parent->generic_edit_processor (_entry.processor ()); } else { + cerr << "Open custom\n"; _entry._parent->edit_processor (_entry.processor ()); } return true;