fix up middle button mess for redirects
git-svn-id: svn://localhost/ardour2/trunk@1819 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3f75517610
commit
912fabc42d
@ -339,7 +339,7 @@ RedirectBox::redirect_button_release_event (GdkEventButton *ev)
|
||||
show_redirect_menu(ev->time);
|
||||
ret = true;
|
||||
|
||||
} else if (redirect && ev->button == 2 && Keyboard::modifier_state_equals (ev->state, Gdk::BUTTON2_MASK)) {
|
||||
} else if (redirect && (ev->button == 2) && (ev->state == Gdk::BUTTON2_MASK)) {
|
||||
|
||||
redirect->set_active (!redirect->active(), this);
|
||||
ret = true;
|
||||
|
Loading…
Reference in New Issue
Block a user