mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 20:59:29 +02:00
LCL: Fix GetHintControl to return a control with OnShowHint assigned. Issue #20637
git-svn-id: trunk@33389 -
This commit is contained in:
parent
d21a9a5ef8
commit
50c4916d2c
@ -52,7 +52,7 @@ begin
|
||||
|
||||
// Find control that actually provides the hint = first parent with a hint text.
|
||||
Result := Control;
|
||||
while (Result <> nil) and (Result.Hint = '')
|
||||
while (Result <> nil) and (Result.Hint = '') and (Result.OnShowHint = nil)
|
||||
and (Result.ShowHint or Result.IsParentShowHint) do
|
||||
Result := Result.Parent;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user