lazutils: TXMLConfig.Flush: use WriteXMLFile to allow overriding

git-svn-id: trunk@35943 -
This commit is contained in:
mattias 2012-03-13 22:18:38 +00:00
parent 213f110c4c
commit 9a4216f43e

View File

@ -185,8 +185,7 @@ begin
if Modified and (Filename<>'') then
begin
//DebugLn(['TXMLConfig.Flush ',Filename]);
Laz2_XMLWrite.WriteXMLFile(Doc,Filename,WriteFlags);
InvalidateFileStateCache;
WriteXMLFile(Doc,Filename);
FModified := False;
end;
end;