Sfoglia il codice sorgente

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

https://winscp.net/tracker/1805

Source commit: e346736abf51157cd2251c30dc48a2c7a2e44e5e
Martin Prikryl 6 anni fa
parent
commit
544596929a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
 void __fastcall TCustomScpExplorerForm::WMWinIniChange(TMessage & Message)
 {
 {
   // Do not handle, when shutting down anyway (maybe also when not setup completelly yet?)
   // Do not handle, when shutting down anyway (maybe also when not setup completelly yet?)
-  if (FInvalid)
+  if (!FInvalid)
   {
   {
     WinConfiguration->ResetSysDarkTheme();
     WinConfiguration->ResetSysDarkTheme();
     ConfigurationChanged();
     ConfigurationChanged();