* Opens a 'Rename group' window for newly created group. * @param veh_type Vehicle type. */
| 1267 | * @param veh_type Vehicle type. |
| 1268 | */ |
| 1269 | static void CcCreateGroup(GroupID gid, VehicleType veh_type) |
| 1270 | { |
| 1271 | VehicleGroupWindow *w = FindVehicleGroupWindow(veh_type, _current_company); |
| 1272 | if (w != nullptr) w->ShowRenameGroupWindow(gid, true); |
| 1273 | } |
| 1274 | |
| 1275 | /** |
| 1276 | * Opens a 'Rename group' window for newly created group. |
no test coverage detected