projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b91b920
)
fix crash when trying to show "controls" of processor w/o controls.
author
Robin Gareus
<robin@gareus.org>
Thu, 6 Jun 2013 22:40:47 +0000
(
00:40
+0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 6 Jun 2013 22:40:47 +0000
(
00:40
+0200)
gtk2_ardour/processor_box.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/processor_box.cc
b/gtk2_ardour/processor_box.cc
index 04c261e2e1895da90012117b41bcef1e5697e90d..bae29ae98ab26e05e0f493196b71879702a2b8f5 100644
(file)
--- a/
gtk2_ardour/processor_box.cc
+++ b/
gtk2_ardour/processor_box.cc
@@
-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 {