summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-08-21 21:41:57 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-08-21 21:42:16 -0400
commited5091d7ae47cd4fcb2369b4799fc99f1f41efe8 (patch)
treebcd5889fd08740d6d850ac0e40b25156a84fc55b
parentc6ba653c9b182f2fc88dafcddb534aee03e75efd (diff)
editing plugin with generic GUI has a tooltip saying it uses the primary modifier. Make it so
-rw-r--r--gtk2_ardour/processor_box.cc4
1 files changed, 3 insertions, 1 deletions
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;