Commit f7328012 authored by Martin Schreiber's avatar Martin Schreiber

* ttextedit.loadfromstream() set ffilerights after calling clear(), fixes...

* ttextedit.loadfromstream() set ffilerights after calling clear(), fixes restoring of file flags by file save.
parent 1e0177b3
......@@ -951,9 +951,9 @@ begin
getstate(statsave);
end;
beginupdate;
clear;
ffilerights:= stream.filerights;
try
clear();
ffilerights:= stream.filerights;
flines.loadfromstream(stream);
ffoundeolstyle:= stream.foundeolstyle();
fhasbom:= false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment