mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 22:58:50 +02:00
LCL: Reshow an application hint correctly. Issue #37053
git-svn-id: branches/fixes_2_0@63474 -
This commit is contained in:
parent
824f8ec4a3
commit
2d62ff2977
@ -211,7 +211,7 @@ begin
|
||||
if (FHintTimerType = ahttNone) or (FHintWindow = nil) or not FHintWindow.Visible then
|
||||
StartHintTimer(HintPause, ahttShowHint);
|
||||
end;
|
||||
ahttShowHint:
|
||||
ahttShowHint, ahttReshowHint:
|
||||
StartHintTimer(HintPause, ahttShowHint);
|
||||
end;
|
||||
end
|
||||
@ -765,10 +765,8 @@ procedure TApplication.DoOnMouseMove;
|
||||
var
|
||||
CursorPos: TPoint;
|
||||
begin
|
||||
if not GetCursorPos(CursorPos) then
|
||||
Exit;
|
||||
|
||||
ActivateHint(CursorPos, True);
|
||||
if GetCursorPos(CursorPos) then
|
||||
ActivateHint(CursorPos, True);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user