Skip to content

Commit

Permalink
(svn r26416) -Fix [FS#5947]: Shares button state was not appropriatel…
Browse files Browse the repository at this point in the history
…y updated when switching setting or company (frosch)
  • Loading branch information
planetmaker committed Mar 18, 2014
1 parent 28b078d commit 3dd1a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/company_gui.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3dd1a6a

Please sign in to comment.