|
@@ -4838,7 +4838,7 @@ void __fastcall TCustomScpExplorerForm::TrayIconClick(TObject * /*Sender*/)
|
|
|
RestoreApp();
|
|
|
}
|
|
|
//---------------------------------------------------------------------------
|
|
|
-void __fastcall TCustomScpExplorerForm::NewSession(bool FromSite, const UnicodeString & SessionUrl)
|
|
|
+void __fastcall TCustomScpExplorerForm::NewSession(const UnicodeString & SessionUrl)
|
|
|
{
|
|
|
if (OpenInNewWindow())
|
|
|
{
|
|
@@ -4847,7 +4847,7 @@ void __fastcall TCustomScpExplorerForm::NewSession(bool FromSite, const UnicodeS
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- TTerminalManager::Instance()->NewSession(FromSite, SessionUrl);
|
|
|
+ TTerminalManager::Instance()->NewSession(SessionUrl);
|
|
|
}
|
|
|
}
|
|
|
//---------------------------------------------------------------------------
|
|
@@ -6730,7 +6730,7 @@ void __fastcall TCustomScpExplorerForm::NeedSession(bool Startup)
|
|
|
if (ShowLogin)
|
|
|
{
|
|
|
bool ReloadSessions = !Startup;
|
|
|
- TTerminalManager::Instance()->NewSession(false, L"", ReloadSessions, this);
|
|
|
+ TTerminalManager::Instance()->NewSession(L"", ReloadSessions, this);
|
|
|
}
|
|
|
}
|
|
|
__finally
|
|
@@ -6869,7 +6869,7 @@ bool __fastcall TCustomScpExplorerForm::SessionTabSwitched()
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- NewSession(false);
|
|
|
+ NewSession();
|
|
|
}
|
|
|
__finally
|
|
|
{
|
|
@@ -8485,7 +8485,7 @@ void __fastcall TCustomScpExplorerForm::PasteFromClipBoard()
|
|
|
{
|
|
|
if (StoredSessions->IsUrl(ClipboardText))
|
|
|
{
|
|
|
- NewSession(false, ClipboardText);
|
|
|
+ NewSession(ClipboardText);
|
|
|
}
|
|
|
else
|
|
|
{
|