mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Remove read-only temporary files (fixes #2632)
(cherry picked from commit 228802bb5d)
This commit is contained in:
parent
c874c6c6b8
commit
00d66222cd
1 changed files with 1 additions and 0 deletions
|
|
@ -706,6 +706,7 @@ begin
|
|||
begin
|
||||
Result:= FindInFile(TargetFileName, CaseSensitive, TextRegExp);
|
||||
if NotContainingText then Result:= not Result;
|
||||
mbFileSetReadOnly(TargetFileName, False);
|
||||
mbDeleteFile(TargetFileName);
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue