1
0
Эх сурвалжийг харах

It was probably mistake that DoNewTerminal was not called (as it causes redundant calls to DoTerminalListChanged)

Source commit: 8f2c2975a36cdaf766de2e77a9b5e22417b40625
Martin Prikryl 6 жил өмнө
parent
commit
d56c41c0ff

+ 1 - 1
source/windows/TerminalManager.cpp

@@ -199,7 +199,7 @@ TTerminal * __fastcall TTerminalManager::NewTerminals(TList * DataList)
   for (int Index = 0; Index < DataList->Count; Index++)
   {
     TTerminal * Terminal =
-      NewTerminal(reinterpret_cast<TSessionData *>(DataList->Items[Index]));
+      DoNewTerminal(reinterpret_cast<TSessionData *>(DataList->Items[Index]));
     if (Index == 0)
     {
       Result = Terminal;