mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-12 01:24:54 +00:00
(svn r26416) -Fix [FS#5947]: Shares button state was not appropriately updated when switching setting or company (frosch)
This commit is contained in:
parent
28b078d2a7
commit
3dd1a6ad2d
@ -2013,7 +2013,7 @@ struct CompanyWindow : Window
|
||||
NWidgetStacked *wi = this->GetWidget<NWidgetStacked>(WID_C_SELECT_BUTTONS);
|
||||
if (plane != wi->shown_plane) {
|
||||
wi->SetDisplayedPlane(plane);
|
||||
this->SetDirty();
|
||||
this->InvalidateData();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user