mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 10:20:40 +02:00
LCL: fixed TCustomForm.FocusControl checking IsVisible
git-svn-id: trunk@25656 -
This commit is contained in:
parent
ef9ab37cc9
commit
a03f193c5e
@ -141,7 +141,7 @@ var
|
|||||||
begin
|
begin
|
||||||
WasActive := FActive;
|
WasActive := FActive;
|
||||||
SetActiveControl(WinControl);
|
SetActiveControl(WinControl);
|
||||||
if not WasActive then
|
if (not WasActive) and IsVisible then
|
||||||
SetFocus;
|
SetFocus;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user