mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Flush doublecmd.xml to the disk
This commit is contained in:
parent
d1623e070d
commit
44b35f2e19
1 changed files with 2 additions and 1 deletions
|
|
@ -553,11 +553,12 @@ end;
|
|||
|
||||
procedure TXmlConfig.WriteToFile(const AFilename: String);
|
||||
var
|
||||
FileStream: TStream;
|
||||
FileStream: TFileStreamEx;
|
||||
begin
|
||||
FileStream := TFileStreamEx.Create(AFilename, fmCreate or fmShareDenyWrite);
|
||||
try
|
||||
WriteToStream(FileStream);
|
||||
FileStream.Flush;
|
||||
finally
|
||||
FileStream.Free;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue