mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 09:40:21 +02:00
xmlcfg: invalidate path cache on deleting nodes
git-svn-id: trunk@25819 -
This commit is contained in:
parent
1b77293eb8
commit
d23bee7225
@ -343,6 +343,7 @@ begin
|
||||
if (Node=nil) or (Node.ParentNode=nil) then exit;
|
||||
ParentNode:=Node.ParentNode;
|
||||
ParentNode.RemoveChild(Node);
|
||||
InvalidatePathCache;
|
||||
InternalCleanNode(ParentNode);
|
||||
end;
|
||||
|
||||
@ -553,6 +554,7 @@ begin
|
||||
if (Node is TDOMElement) and (not TDOMElement(Node).IsEmpty) then break;
|
||||
ParentNode:=Node.ParentNode;
|
||||
ParentNode.RemoveChild(Node);
|
||||
InvalidatePathCache;
|
||||
Node:=ParentNode;
|
||||
FModified := True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user