Forráskód Böngészése

Correcting b0b968cc for the 5.18 branch

Source commit: 573671246454f40c243d0133013935af5eb72ce2
Martin Prikryl 4 éve
szülő
commit
6433d02950
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -4955,7 +4955,7 @@ void __fastcall TCustomScpExplorerForm::FormCloseQuery(TObject * /*Sender*/,
     int ActiveSessions = 0;
     for (int Index = 0; Index < Manager->Count; Index++)
     {
-      if (Manager->Sessions[Index]->Active)
+      if (Manager->Terminals[Index]->Active)
       {
         ActiveSessions++;
       }