diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 7c1d84550d..95740f4d35 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -429,8 +429,6 @@ public: this->BuildGroupList(vli.company); this->group_sb->SetCount(this->groups.size()); - this->RecalculateInfoTotals(); - this->GetWidget(WID_GL_CAPTION)->widget_data = STR_VEHICLE_LIST_TRAIN_CAPTION + this->vli.vtype; this->GetWidget(WID_GL_LIST_VEHICLE)->tool_tip = STR_VEHICLE_LIST_TRAIN_LIST_TOOLTIP + this->vli.vtype; @@ -445,6 +443,7 @@ public: this->BuildVehicleList(); this->SortVehicleList(); + this->RecalculateInfoTotals(); } void Close(int data = 0) override