(svn r26416) -Fix [FS#5947]: Shares button state was not appropriately updated when switching setting or company (frosch)

pull/155/head
planetmaker 10 years ago
parent 01d532d9dd
commit f44d54a9e4

@ -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…
Cancel
Save