Prechádzať zdrojové kódy

Since bf7b9448, remote panel was not (re)enabled after reconnect

Source commit: 452441748dd59ff3b3b96d84b44d73b1037eb494
Martin Prikryl 6 mesiacov pred
rodič
commit
f963b033a7
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      source/windows/TerminalManager.cpp

+ 5 - 0
source/windows/TerminalManager.cpp

@@ -503,6 +503,11 @@ void __fastcall TTerminalManager::DoConnectTerminal(TTerminal * Terminal, bool R
     {
       ReconnectedTerminal(ManagedTerminal);
     }
+    if (ScpExplorer != NULL)
+    {
+      // Particularly to enable remote panel, now that FOpeningTerminal is cleared
+      ScpExplorer->UpdateControls();
+    }
   }
 
   if (DebugAlwaysTrue(Terminal->Active) && !Reopen && GUIConfiguration->QueueBootstrap)