Commit 335d3c0e authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

lspclient: do not hide tooltip on KeyRelease

parent 13df45c5
......@@ -100,8 +100,9 @@ public:
bool eventFilter(QObject *, QEvent *e) override
{
switch (e->type()) {
// only consider KeyPress
// a key release might get triggered by the trail of a shortcut key activation
case QEvent::KeyPress:
case QEvent::KeyRelease:
hideTooltip();
break;
case QEvent::WindowActivate:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment