Commit 151679e2 authored by Kevin Funk's avatar Kevin Funk
Browse files

Hide active tooltip when other window is activated

This avoids the tooltip overlapping other windows
parent 8e01dd73
......@@ -94,6 +94,13 @@ bool ActiveToolTip::eventFilter(QObject *object, QEvent *e)
}
break;
case QEvent::WindowActivate:
if (insideThis(object)) {
return false;
}
close();
break;
case QEvent::WindowBlocked:
// Modal dialog activated somewhere, it is the only case where a cursor
// move may be missed and the popup has to be force-closed
......
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