hide tooltip on mouse press
This commit is contained in:
parent
a0b7a71a94
commit
fcf10579b3
@ -355,6 +355,9 @@ void ToolTip::hoverLeaveEvent(QHoverEvent *event)
|
||||
|
||||
bool ToolTip::childMouseEventFilter(QQuickItem *item, QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::MouseButtonPress) {
|
||||
hideToolTip();
|
||||
}
|
||||
return QQuickItem::childMouseEventFilter(item, event);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user