mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 01:47:46 +02:00
* Small fix for unrendering
This commit is contained in:
parent
591d43ee9c
commit
6a3a4d4cf2
@ -2466,6 +2466,9 @@ begin
|
||||
ReRender:=IsRendered;
|
||||
if ReRender then
|
||||
UnRender(ParentElement);
|
||||
If (aValue=Nil) and (csDestroying in ComponentState) then
|
||||
exit;
|
||||
// here we re-render if needed
|
||||
InvalidateParentElement;
|
||||
If Assigned(aValue) then
|
||||
begin
|
||||
@ -2709,7 +2712,6 @@ begin
|
||||
EnsureElement;
|
||||
For I:=0 to ChildCount-1 do
|
||||
Children[i].Refresh;
|
||||
|
||||
end;
|
||||
|
||||
procedure TCustomWebWidget.Unrender;
|
||||
|
Loading…
Reference in New Issue
Block a user