Browse Source

Comment that opening workspace asks for master password before it is actually needed

Source commit: 8b2ec2bf7067b9921d61c9da0e93d74169686fe3
Martin Prikryl 3 years ago
parent
commit
c2c9ec2699
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/forms/CustomScpExplorer.cpp

+ 1 - 0
source/forms/CustomScpExplorer.cpp

@@ -5244,6 +5244,7 @@ void TCustomScpExplorerForm::DoOpenFolderOrWorkspace(
 {
   TTerminalManager * Manager = TTerminalManager::Instance();
   std::unique_ptr<TObjectList> DataList(new TObjectList());
+  // This asks for a master password. Maybe we should postpone asking until a connection is actually opened.
   StoredSessions->GetFolderOrWorkspace(Name, DataList.get());
   if (!CheckMaxSessions || (DataList->Count <= WinConfiguration->MaxSessions))
   {