(svn r24140) -Add [FS#1117]: Group name in the replace vehicle window caption. (Juanjo)

This commit is contained in:
michi_cc
2012-04-17 19:44:30 +00:00
parent 83a0b3cf1d
commit 08d884bce8
52 changed files with 61 additions and 50 deletions

View File

@@ -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());
}