audio clocks: handle keypress for minus/plus etc so that it not routed into accels on release

git-svn-id: svn://localhost/ardour2/branches/3.0@10712 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-20 17:44:01 +00:00
parent 604dd4fe64
commit ff2d25a43e

View file

@ -1146,6 +1146,10 @@ AudioClock::on_key_press_event (GdkEventKey* ev)
case GDK_Return: case GDK_Return:
case GDK_KP_Enter: case GDK_KP_Enter:
case GDK_Escape: case GDK_Escape:
case GDK_minus:
case GDK_plus:
case GDK_KP_Add:
case GDK_KP_Subtract:
return true; return true;
default: default:
return false; return false;