소스 검색

Bug 1756: Site folder loses names of its sites

https://winscp.net/tracker/1756

Source commit: dabe20df35693d9dff70e658f008d1796be7f33f
Martin Prikryl 6 년 전
부모
커밋
7b03eba50b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      source/core/SessionData.cpp

+ 1 - 1
source/core/SessionData.cpp

@@ -4859,7 +4859,7 @@ void __fastcall TStoredSessionList::GetFolderOrWorkspace(const UnicodeString & N
       {
         Data2->Name = RawData->NameOverride;
       }
-      else if (RawData->Link.IsEmpty())
+      else if (RawData->Link.IsEmpty() && RawData->IsWorkspace)
       {
         // Newly opened ad-hoc session has no name, so restore the workspace that way too.
         // Otherwise we would persist the generated internal workspace name as a real name.