lcl: treeview: fix hiding tool tips. Issue #32553

git-svn-id: trunk@56075 -
This commit is contained in:
ondrej 2017-10-16 11:42:15 +00:00
parent dad863f838
commit 6700026d69

View File

@ -5705,7 +5705,8 @@ begin
FStates:=FStates-[tvsDblClicked,tvsTripleClicked,tvsQuadClicked,
tvsEditOnMouseUp,tvsSingleSelectOnMouseUp];
if Assigned(FHintWnd) and FHintWnd.Visible
and not PtInRect(ClientRect, ScreenToClient(Mouse.CursorPos)) then
and ((WidgetSet.GetLCLCapability(lcTransparentWindow) = LCL_CAPABILITY_YES)
or not PtInRect(ClientRect, ScreenToClient(Mouse.CursorPos))) then
FHintWnd.Hide;
inherited MouseLeave;
end;