diff options
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; } |