Просмотр исходного кода

Issue 2248 – Failure when starting with colored session

https://winscp.net/tracker/2248

Source commit: e8a57a6de0b2141da70b14746f0e7f791cce7a03
Martin Prikryl 1 год назад
Родитель
Сommit
5f1d18ee93
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      source/forms/CustomScpExplorer.cpp

+ 2 - 1
source/forms/CustomScpExplorer.cpp

@@ -1219,7 +1219,8 @@ void __fastcall TCustomScpExplorerForm::ConfigurationChanged()
     FileColorsChanged();
   }
 
-  if (GetNewTabTab()->CaptionTruncation != GetNewTabTabCaptionTruncation())
+  if ((GetNewTabTab()->CaptionTruncation != GetNewTabTabCaptionTruncation()) &&
+      (FSessionColors != NULL))
   {
     SessionListChanged();
   }