1
0
Fork 0

Fix #13910: Invalidate content of house picker window if language is changed.

pull/13911/head
Peter Nelson 2025-03-28 19:14:39 +00:00
parent a361841848
commit acbf78cb89
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 3 deletions

View File

@ -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();
} }