Commit 1e0177b3 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 997063ee
......@@ -947,12 +947,12 @@ var
po1: pmsestring;
begin
checkgrid;
ffilerights:= stream.filerights;
if restorestate then begin
getstate(statsave);
end;
beginupdate;
clear;
ffilerights:= stream.filerights;
try
flines.loadfromstream(stream);
ffoundeolstyle:= stream.foundeolstyle();
......
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