mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 16:07:19 +01:00
LCL: fixed bug where MDIChild form can be moved over main menu or task bar, introduced in r24682 #708e6de6d9
git-svn-id: trunk@24693 -
This commit is contained in:
parent
d661819ef3
commit
6ac3997a9f
@ -769,7 +769,8 @@ procedure TCustomForm.UpdateShowInTaskBar;
|
||||
var
|
||||
Value: TShowInTaskBar;
|
||||
begin
|
||||
if (Application.MainForm = Self) or (not HandleAllocated) then Exit;
|
||||
if (Application.MainForm = Self) or (not HandleAllocated)
|
||||
or (FormStyle = fsMDIChild) then Exit;
|
||||
Value := ShowInTaskBar;
|
||||
if (Value = stDefault) or (csDesigning in ComponentState) then
|
||||
case Application.TaskBarBehavior of
|
||||
|
||||
Loading…
Reference in New Issue
Block a user