diff options
author | planetmaker <planetmaker@openttd.org> | 2014-03-18 20:53:34 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2014-03-18 20:53:34 +0000 |
commit | 3dd1a6ad2d326ba1c98a11074ec270fda401db9a (patch) | |
tree | 255a8ea57cb64844ae69594b63bdafe62dda8558 /src | |
parent | 28b078d2a72f88179edd2e50af72f9c507bcfa4c (diff) | |
download | openttd-3dd1a6ad2d326ba1c98a11074ec270fda401db9a.tar.xz |
(svn r26416) -Fix [FS#5947]: Shares button state was not appropriately updated when switching setting or company (frosch)
Diffstat (limited to 'src')
-rw-r--r-- | src/company_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 1cf38fc52..bbbf0950b 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -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; } |