Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)

git-svn-id: trunk@61223 -
This commit is contained in:
hnb 2019-05-13 23:03:33 +00:00
parent f929b625af
commit 298236df33

View File

@ -1345,6 +1345,7 @@ var
LPageCtrl: TModulePageControl;
begin
Result := nil;
Application.ProcessMessages;
if (FormEditingHook = nil) or (GlobalDesignHook = nil) then
Exit;
LForm := FormEditingHook.GetDesignerForm(GlobalDesignHook.LookupRoot);