mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 07:09:28 +02:00
LCL:
git-svn-id: trunk@24415 -
This commit is contained in:
parent
b45e6c73ea
commit
463c24c7d1
@ -919,7 +919,10 @@ procedure TApplication.UpdateVisible;
|
||||
for i := 0 to Screen.FormCount - 1 do
|
||||
begin
|
||||
AForm := Screen.Forms[i];
|
||||
if AForm.Visible and (AForm.Parent = nil) and UseAppTaskbarItem(AForm) then
|
||||
if (AForm.Parent = nil)
|
||||
and AForm.Showing // check showing (not Visible)
|
||||
and (not (csDestroyingHandle in AForm.ControlState))
|
||||
and UseAppTaskbarItem(AForm) then
|
||||
begin
|
||||
Result := True;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user