mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: FTP - Rename connection via properties dialog
This commit is contained in:
parent
d08906f6c4
commit
31ef7eb594
1 changed files with 3 additions and 3 deletions
|
|
@ -503,13 +503,13 @@ begin
|
|||
begin
|
||||
if Connection.MasterPassword then
|
||||
begin
|
||||
if CryptFunc(FS_CRYPT_MOVE_PASSWORD, Connection.ConnectionName, ConnectionName) = FS_FILE_OK then
|
||||
ConnectionList[I]:= ConnectionName
|
||||
else begin
|
||||
if CryptFunc(FS_CRYPT_MOVE_PASSWORD, Connection.ConnectionName, ConnectionName) <> FS_FILE_OK then
|
||||
begin
|
||||
gStartupInfo.MessageBox('Cannot save connection!', 'FTP', MB_OK or MB_ICONERROR);
|
||||
Exit(False);
|
||||
end;
|
||||
end;
|
||||
ConnectionList[I]:= ConnectionName
|
||||
end;
|
||||
if PasswordChanged then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue