Explorar o código

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

Source commit: 6c0ba273dabd86e9e8c5fee52de4aa13f6e55164
Martin Prikryl %!s(int64=3) %!d(string=hai) anos
pai
achega
81ce67f047
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();
 }
 //---------------------------------------------------------------------------