From def0dd21bccf3c37f5621da974beacccefd32202 Mon Sep 17 00:00:00 2001 From: Dimitrios Christidis Date: Tue, 12 Feb 2013 13:53:24 +0200 Subject: Add support for numpad Enter in find. BUG: 310164 REVIEW: 108918 Signed-off-by: Andrea Diamantini --- src/webwindow/findbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/webwindow/findbar.cpp b/src/webwindow/findbar.cpp index 6bf9ac0d..5b18b052 100644 --- a/src/webwindow/findbar.cpp +++ b/src/webwindow/findbar.cpp @@ -115,7 +115,7 @@ FindBar::FindBar(QWidget *parent) void FindBar::keyPressEvent(QKeyEvent *event) { - if (event->key() == Qt::Key_Return) + if (event->key() == Qt::Key_Return || event->key() == Qt::Key_Enter) { if (event->modifiers() == Qt::ShiftModifier) { -- cgit v1.2.1