From f069f1a66479bbb6e101c423b250caf0fbbdadfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com> Date: Fri, 16 Apr 2010 16:49:29 +0200 Subject: [PATCH] Forward Home and End keys to the editor when completing It's annoying and not very useful if they get grabbed and handled by the completion list. This happened as a side effect of fc1780f126415523f1298fdf8d73b6270fd970c2. --- src/plugins/texteditor/completionwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/texteditor/completionwidget.cpp b/src/plugins/texteditor/completionwidget.cpp index 3fc70927ae8..5575d9ad45d 100644 --- a/src/plugins/texteditor/completionwidget.cpp +++ b/src/plugins/texteditor/completionwidget.cpp @@ -368,6 +368,9 @@ bool CompletionListView::event(QEvent *e) case Qt::Key_Right: case Qt::Key_Left: + case Qt::Key_Home: + case Qt::Key_End: + // We want these navigation keys to work in the editor, so forward them break; case Qt::Key_Tab: -- GitLab