Browse Source

Adding two more startup sequence counter steps between D and O

Source commit: 5629685c15d795aed193a0751e48775486141e10
Martin Prikryl 2 years ago
parent
commit
8f63053603
2 changed files with 4 additions and 0 deletions
  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");
 }