diff options
Diffstat (limited to 'src/group_cmd.cpp')
-rw-r--r-- | src/group_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/group_cmd.cpp b/src/group_cmd.cpp index ca671e680..fbb043841 100644 --- a/src/group_cmd.cpp +++ b/src/group_cmd.cpp @@ -379,6 +379,7 @@ CommandCost CmdRenameGroup(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 /* Assign the new one */ g->name = reset ? NULL : strdup(text); + SetWindowDirty(WC_REPLACE_VEHICLE, g->vehicle_type); InvalidateWindowData(GetWindowClassForVehicleType(g->vehicle_type), VehicleListIdentifier(VL_GROUP_LIST, g->vehicle_type, _current_company).Pack()); } |