소스 검색

Bug fix: Failure when New Tab is clicked while another session is still being loaded

Source commit: 350c582bab706c0d11031f99bbc55be041a3b1d2
Martin Prikryl 2 년 전
부모
커밋
75044ab5c0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      source/forms/CustomScpExplorer.cpp

+ 1 - 0
source/forms/CustomScpExplorer.cpp

@@ -576,6 +576,7 @@ void __fastcall TCustomScpExplorerForm::SetManagedSession(TManagedTerminal * val
 {
   if (FManagedSession != value)
   {
+    TWindowLock Lock(this);
     SessionChanging();
     DoSetManagedSession(value, false);
   }