FIX: Create new descript.ion in other folder

This commit is contained in:
Alexander Koblov 2016-06-12 17:02:58 +00:00
commit eb78f8b1db

View file

@ -150,7 +150,11 @@ begin
// load description file if exists
FLastDescrFile:= sDescrFile;
if not mbFileExists(FLastDescrFile) then
FEncoding:= FNewEncoding // use new encoding if new file
begin
Clear;
// use new encoding if new file
FEncoding:= FNewEncoding;
end
else begin
FEncoding:= gDescReadEncoding;
LoadFromFile(FLastDescrFile);