mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Use shell rename when rename one file only
This commit is contained in:
parent
128c9106e1
commit
10d06cae68
1 changed files with 2 additions and 1 deletions
|
|
@ -425,7 +425,8 @@ begin
|
|||
|
||||
{$ELSE}
|
||||
|
||||
if gUseShellForFileOperations and (UTF8Length(OldName) < MAX_PATH - 1) and (UTF8Length(NewName) < MAX_PATH - 1) then
|
||||
if gUseShellForFileOperations and (FFullFilesTree.Count = 1) and
|
||||
(UTF8Length(OldName) < MAX_PATH - 1) and (UTF8Length(NewName) < MAX_PATH - 1) then
|
||||
begin
|
||||
if ShellRename then
|
||||
Result := sfprSuccess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue