Explorar o código

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

https://winscp.net/tracker/1805

Source commit: e346736abf51157cd2251c30dc48a2c7a2e44e5e
Martin Prikryl %!s(int64=6) %!d(string=hai) anos
pai
achega
544596929a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();