浏览代码

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

Source commit: b4ae8976614509383c545ee57055a86661592049
Martin Prikryl 6 年之前
父节点
当前提交
a16100cc8f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);