mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-09 21:39:19 +02:00
LCL: LM_WINDOWPOSCHANGING: check for fsFirstShow
git-svn-id: trunk@26710 -
This commit is contained in:
parent
d52620c7e3
commit
9e35330a16
@ -1315,7 +1315,8 @@ begin
|
||||
if HostDockSite <> nil then Activate;
|
||||
end;
|
||||
LM_WINDOWPOSCHANGING:
|
||||
if ([csLoading, csDesigning] * ComponentState = [csLoading])
|
||||
if (not (csDesigning in ComponentState))
|
||||
and (fsFirstShow in FFormState)
|
||||
then begin
|
||||
if (Position in [poDefault, poDefaultPosOnly])
|
||||
and (WindowState <> wsMaximized)
|
||||
|
Loading…
Reference in New Issue
Block a user