Browse Source

Bug fix: Disconnected remote panel background color does not reflect theme change

Source commit: b4ae8976614509383c545ee57055a86661592049
Martin Prikryl 6 years ago
parent
commit
a16100cc8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -8567,8 +8567,8 @@ void __fastcall TCustomScpExplorerForm::UpdateControls()
         // An even later in TScpCommanderForm::DoShow()
         FRemoteDirViewWasFocused = (ActiveControl == RemoteDirView);
         RemoteDirView->Enabled = false;
-        RemoteDirView->Color = DisabledPanelColor();
       }
+      RemoteDirView->Color = DisabledPanelColor();
     }
 
     RemoteDirView->Font->Color = GetWindowTextColor(RemoteDirView->Color);