mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 08:50:16 +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
|
||||
WasActive := FActive;
|
||||
SetActiveControl(WinControl);
|
||||
if not WasActive then
|
||||
if (not WasActive) and IsVisible then
|
||||
SetFocus;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user