mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
fix crash when trying to show "controls" of processor w/o controls.
This commit is contained in:
parent
b91b920b9b
commit
94b6b4a7d2
1 changed files with 2 additions and 0 deletions
|
|
@ -1066,6 +1066,8 @@ ProcessorBox::processor_button_press_event (GdkEventButton *ev, ProcessorEntry*
|
|||
if (_session->engine().connected()) {
|
||||
/* XXX giving an error message here is hard, because we may be in the midst of a button press */
|
||||
|
||||
if (!one_processor_can_be_edited ()) return true;
|
||||
|
||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::SecondaryModifier)) {
|
||||
generic_edit_processor (processor);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue