mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 23:19:09 +00:00
Fix #13910: Invalidate content of house picker window if language is changed.
This commit is contained in:
@@ -1745,9 +1745,7 @@ struct BuildHouseWindow : public PickerWindow {
|
|||||||
|
|
||||||
void OnInit() override
|
void OnInit() override
|
||||||
{
|
{
|
||||||
this->SetWidgetLoweredState(WID_BH_PROTECT_OFF, !this->house_protected);
|
this->InvalidateData(PickerInvalidation::Position);
|
||||||
this->SetWidgetLoweredState(WID_BH_PROTECT_ON, this->house_protected);
|
|
||||||
|
|
||||||
this->PickerWindow::OnInit();
|
this->PickerWindow::OnInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user