瀏覽代碼

Adding two more startup sequence counter steps between D and O

(cherry picked from commit 8f6305360325afa8ef5a6a0027fb354ed4fa3c9c)

Source commit: 7a6456ed9a7cf86d44a26d63a41fa26805ed0b4c
Martin Prikryl 2 年之前
父節點
當前提交
4fbfc99566
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      source/forms/ScpCommander.cpp
  2. 2 0
      source/forms/ScpExplorer.cpp

+ 2 - 0
source/forms/ScpCommander.cpp

@@ -378,6 +378,7 @@ bool __fastcall TScpCommanderForm::CopyParamDialog(TTransferDirection Direction,
 //---------------------------------------------------------------------------
 void __fastcall TScpCommanderForm::DoShow()
 {
+  AddStartupSequence(L"W");
   // Make sure the RemoteDirView is disabled (if not connected yet)
   // before the focusing below,
   // otherwise we disable the view while setting it focused
@@ -401,6 +402,7 @@ void __fastcall TScpCommanderForm::DoShow()
     DirView(osOther)->SetFocus();
   }
 
+  AddStartupSequence(L"U");
   TCustomScpExplorerForm::DoShow();
 
   // Need to do do this before the main window really displays.

+ 2 - 0
source/forms/ScpExplorer.cpp

@@ -171,6 +171,7 @@ bool __fastcall TScpExplorerForm::CopyParamDialog(TTransferDirection Direction,
 //---------------------------------------------------------------------------
 void __fastcall TScpExplorerForm::DoShow()
 {
+  AddStartupSequence(L"W");
   // See comment in TScpCommanderForm::DoShow()
   UpdateControls();
 
@@ -179,6 +180,7 @@ void __fastcall TScpExplorerForm::DoShow()
     DirView(osOther)->SetFocus();
   }
 
+  AddStartupSequence(L"U");
   TCustomScpExplorerForm::DoShow();
   AddStartupSequence(L"O");
 }