1
0
Fork 0

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

release/1.5
planetmaker 2014-03-18 20:53:34 +00:00
parent 28b078d2a7
commit 3dd1a6ad2d
1 changed files with 1 additions and 1 deletions

View File

@ -2013,7 +2013,7 @@ struct CompanyWindow : Window
NWidgetStacked *wi = this->GetWidget<NWidgetStacked>(WID_C_SELECT_BUTTONS); NWidgetStacked *wi = this->GetWidget<NWidgetStacked>(WID_C_SELECT_BUTTONS);
if (plane != wi->shown_plane) { if (plane != wi->shown_plane) {
wi->SetDisplayedPlane(plane); wi->SetDisplayedPlane(plane);
this->SetDirty(); this->InvalidateData();
return; return;
} }