summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-01-19 14:13:54 +0530
committerpranavk <pranavk@collabora.co.uk>2017-01-23 07:00:23 +0000
commit5128e503ba8f602d1fda47c89e5b6ee4be6b7029 (patch)
tree2e7eb50b75fc60083539a1d57afba43f4b73450f
parent98e4013c22c4ce63090a575e698cc2af82925e6b (diff)
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>
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 0b8fa7dbc675..19080fda09f2 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -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: