lokdocview: Handle keypad enter

Change-Id: Ia892c346d4a3c0a5439c7977963cc502d287e6f7
Reviewed-on: https://gerrit.libreoffice.org/33445
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
This commit is contained in:
Pranav Kant
2017-01-19 14:13:54 +05:30
committed by pranavk
parent 98e4013c22
commit 5128e503ba

View File

@@ -723,6 +723,7 @@ signalKey (GtkWidget* pWidget, GdkEventKey* pEvent)
nKeyCode = com::sun::star::awt::Key::DELETE;
break;
case GDK_KEY_Return:
case GDK_KEY_KP_Enter:
nKeyCode = com::sun::star::awt::Key::RETURN;
break;
case GDK_KEY_Escape: