mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 02:09:14 +02:00
Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)
git-svn-id: trunk@61223 -
This commit is contained in:
parent
f929b625af
commit
298236df33
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user