mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-17 02:46:15 +01:00
fix mis-handling of button press events on rec-enable that ought to forward to BindableButton
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5758 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8795fc3e03
commit
536cec216e
1 changed files with 2 additions and 3 deletions
|
|
@ -449,10 +449,9 @@ RouteUI::rec_enable_press(GdkEventButton* ev)
|
|||
|
||||
if (!ignore_toggle && is_track() && rec_enable_button) {
|
||||
|
||||
if (Keyboard::is_button2_event (ev) && Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) {
|
||||
if (Keyboard::is_button2_event (ev)) {
|
||||
|
||||
// do nothing on midi bind event
|
||||
return false;
|
||||
return rec_enable_button->on_button_press_event (ev);
|
||||
|
||||
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::ModifierMask (Keyboard::PrimaryModifier|Keyboard::TertiaryModifier))) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue