Change: For consistency, add company name to colour scheme window.

This commit is contained in:
Peter Nelson
2019-01-27 01:34:30 +00:00
committed by Niels Martin Hansen
parent 256b94a03d
commit 6e5b90f4f7
2 changed files with 5 additions and 1 deletions

View File

@@ -660,6 +660,10 @@ public:
virtual void SetStringParameters(int widget) const
{
switch (widget) {
case WID_SCL_CAPTION:
SetDParam(0, (CompanyID)this->window_number);
break;
case WID_SCL_PRI_COL_DROPDOWN:
case WID_SCL_SEC_COL_DROPDOWN: {
const Company *c = Company::Get((CompanyID)this->window_number);