Prechádzať zdrojové kódy

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

https://winscp.net/tracker/1805

Source commit: e346736abf51157cd2251c30dc48a2c7a2e44e5e
Martin Prikryl 6 rokov pred
rodič
commit
544596929a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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();