forked from qt-creator/qt-creator
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
fc1780f126
.
This commit is contained in:
@@ -368,6 +368,9 @@ bool CompletionListView::event(QEvent *e)
|
|||||||
|
|
||||||
case Qt::Key_Right:
|
case Qt::Key_Right:
|
||||||
case Qt::Key_Left:
|
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;
|
break;
|
||||||
|
|
||||||
case Qt::Key_Tab:
|
case Qt::Key_Tab:
|
||||||
|
Reference in New Issue
Block a user