mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Don't show second connection with same name and path
This commit is contained in:
parent
71f90574cc
commit
82db2bcfb9
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ var
|
|||
FileSourceRecord: PFileSourceRecord;
|
||||
begin
|
||||
ConnectionName:= GetConnectionName(Name, Path);
|
||||
if WfxConnectionList.IndexOf(ConnectionName) >= 0 then Exit;
|
||||
FileSourceRecord:= NewFileSourceRecord(FileSource, Name, Path);
|
||||
WfxConnectionList.AddObject(ConnectionName, TObject(FileSourceRecord));
|
||||
with frmMain do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue