diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-04-16 16:49:29 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-04-16 16:52:09 +0200 |
commit | f069f1a66479bbb6e101c423b250caf0fbbdadfc (patch) | |
tree | e55b65794bc46ca659791470a5f672ccc923393b | |
parent | 3057c6ecf7b40a7d2d6c4ec0cb07ee6cbcdc7ed7 (diff) | |
download | qt-creator-f069f1a66479bbb6e101c423b250caf0fbbdadfc.tar.gz |
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.
-rw-r--r-- | src/plugins/texteditor/completionwidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/texteditor/completionwidget.cpp b/src/plugins/texteditor/completionwidget.cpp index 3fc70927ae..5575d9ad45 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: |