aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorMichail Koreshkov <drkor@bk.ru>2018-04-06 22:01:06 +0300
committerRoland Knall <rknall@gmail.com>2018-04-09 05:15:38 +0000
commit276d02a62b379f61d397efc2254a0d01d6726225 (patch)
treee3dfe04cb632e2c8e98ab2b937545028ffedf381 /ui
parent25f925840de8706135633504387405d0176987da (diff)
QT: keep cursor visible after completerion select
Before it was like this (display filter line edit "lost" focus) After press Enter in completion pupup, line edit stop show cursor. I was confused every time because without cursor it look like focus lost. But in fact focus is not lost and only cursor was disappear. Now cursor is not disappear Change-Id: I56979a1a774b6fb0b8b8be8239c01f5034c42fc8 Reviewed-on: https://code.wireshark.org/review/26781 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/widgets/syntax_line_edit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/widgets/syntax_line_edit.cpp b/ui/qt/widgets/syntax_line_edit.cpp
index c233d58c05..5d6da1377c 100644
--- a/ui/qt/widgets/syntax_line_edit.cpp
+++ b/ui/qt/widgets/syntax_line_edit.cpp
@@ -289,6 +289,7 @@ void SyntaxLineEdit::completionKeyPressEvent(QKeyEvent *event)
switch (event->key()) {
case Qt::Key_Enter:
case Qt::Key_Return:
+ break;
case Qt::Key_Tab:
focusNextChild();
break;