LCL, Carbon: Visible undocked design window at Lazarus start with installed Sparta package. From Maciej.

git-svn-id: trunk@50420 -
This commit is contained in:
juha 2015-11-19 13:55:40 +00:00
parent a1667bc145
commit c17e3d8e95

View File

@ -1689,7 +1689,7 @@ procedure TCarbonWindow.ShowHide(AVisible: Boolean);
begin
//DebugLn('TCarbonWindow.ShowHide ' + DbgSName(LCLobject),' ', DbgS(AVisible));
if Assigned(fWindowRef) then begin
if AVisible or (csDesigning in LCLobject.ComponentState) then
if AVisible then
begin
MacOSAll.ShowWindow(fWindowRef);
end