소스 검색

Bug fix: Failure when trying to switch session tabs while previous switch did not complete yet

Source commit: 6c0ba273dabd86e9e8c5fee52de4aa13f6e55164
Martin Prikryl 3 년 전
부모
커밋
81ce67f047
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      source/forms/CustomScpExplorer.cpp

+ 1 - 0
source/forms/CustomScpExplorer.cpp

@@ -7169,6 +7169,7 @@ bool __fastcall TCustomScpExplorerForm::SessionTabSwitched()
 //---------------------------------------------------------------------------
 void __fastcall TCustomScpExplorerForm::SessionsPageControlChange(TObject * /*Sender*/)
 {
+  TWindowLock Lock(this);
   SessionTabSwitched();
 }
 //---------------------------------------------------------------------------