浏览代码

Bug 1805 – Failure when switching between light and dark interface themes (2nd)

https://winscp.net/tracker/1805

Source commit: e346736abf51157cd2251c30dc48a2c7a2e44e5e
Martin Prikryl 6 年之前
父节点
当前提交
544596929a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -8914,7 +8914,7 @@ void __fastcall TCustomScpExplorerForm::QueueSplitterDblClick(TObject * /*Sender
 void __fastcall TCustomScpExplorerForm::WMWinIniChange(TMessage & Message)
 {
   // Do not handle, when shutting down anyway (maybe also when not setup completelly yet?)
-  if (FInvalid)
+  if (!FInvalid)
   {
     WinConfiguration->ResetSysDarkTheme();
     ConfigurationChanged();