backwards compat with old gtk
This commit is contained in:
parent
d68275cefc
commit
6745aa6e52
@ -974,7 +974,7 @@ ArdourButton::on_focus_out_event (GdkEventFocus* ev)
|
||||
bool
|
||||
ArdourButton::on_key_release_event (GdkEventKey *ev) {
|
||||
if (_focused &&
|
||||
(ev->keyval == GDK_KEY_space || ev->keyval == GDK_Return))
|
||||
(ev->keyval == GDK_space || ev->keyval == GDK_Return))
|
||||
{
|
||||
signal_clicked();
|
||||
if (_action) {
|
||||
|
Loading…
Reference in New Issue
Block a user