diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 1cf38fc521..bbbf0950b5 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -2013,7 +2013,7 @@ struct CompanyWindow : Window NWidgetStacked *wi = this->GetWidget(WID_C_SELECT_BUTTONS); if (plane != wi->shown_plane) { wi->SetDisplayedPlane(plane); - this->SetDirty(); + this->InvalidateData(); return; }