https://winscp.net/tracker/1805 Source commit: e346736abf51157cd2251c30dc48a2c7a2e44e5e
@@ -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();