mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Create new descript.ion in other folder
This commit is contained in:
parent
89e6813e03
commit
eb78f8b1db
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue