mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 23:19:29 +02:00
fixed painting on datamodule forms
git-svn-id: trunk@4787 -
This commit is contained in:
parent
7909407973
commit
94359fa79d
@ -73,6 +73,7 @@ procedure TFormEditor.PaintAllDesignerItems;
|
||||
var
|
||||
i: Integer;
|
||||
ADesigner: TDesigner;
|
||||
AForm: TCustomForm;
|
||||
begin
|
||||
for i:=0 to JITFormList.Count-1 do begin
|
||||
ADesigner:=TDesigner(JITFormList[i].Designer);
|
||||
@ -80,6 +81,14 @@ begin
|
||||
ADesigner.DrawDesignerItems(true);
|
||||
end;
|
||||
end;
|
||||
for i:=0 to JITDataModuleList.Count-1 do begin
|
||||
AForm:=GetDesignerForm(JITDataModuleList[i]);
|
||||
if AForm=nil then continue;
|
||||
ADesigner:=TDesigner(AForm.Designer);
|
||||
if ADesigner<>nil then begin
|
||||
ADesigner.DrawDesignerItems(true);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user