mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-04 07:24:48 +01:00
LCL: fixed regression from r59186 #8d0fe522bb. issue #34870
git-svn-id: trunk@60081 -
This commit is contained in:
parent
0911c1c97f
commit
cab53de86d
@ -1143,7 +1143,7 @@ procedure TCustomTabControl.ShowCurrentPage;
|
||||
begin
|
||||
Result := False;
|
||||
lForm := GetParentForm(APage);
|
||||
if not Assigned(lForm) then Exit;
|
||||
if not Assigned(lForm) or not lForm.Visible then Exit;
|
||||
for i := 0 to APage.ControlCount - 1 do
|
||||
if APage.Controls[i] = lForm.ActiveControl then
|
||||
Exit(True);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user