mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 02:47:43 +01:00
editing plugin with generic GUI has a tooltip saying it uses the primary modifier. Make it so
This commit is contained in:
parent
c6ba653c9b
commit
ed5091d7ae
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue