浏览代码

Failure when starting without the main window (caused by 3241540a)

Source commit: dbc9763432d7f3c544429b4ed2a609e53cf56f0c
Martin Prikryl 5 年之前
父节点
当前提交
b8d57e7719
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      source/windows/TerminalManager.cpp

+ 4 - 1
source/windows/TerminalManager.cpp

@@ -1267,7 +1267,10 @@ void __fastcall TTerminalManager::AuthenticatingDone()
 void __fastcall TTerminalManager::TerminalInformation(
   TTerminal * Terminal, const UnicodeString & Str, bool /*Status*/, int Phase)
 {
-  ScpExplorer->TerminalConnecting();
+  if (ScpExplorer != NULL)
+  {
+    ScpExplorer->TerminalConnecting();
+  }
   if (Phase == 1)
   {
     if (FAuthenticating == 0)