Fix create group from veh list being shown (non-functional) in group GUI.

Remove and only show in vehicle list.
This commit is contained in:
Jonathan G Rennison
2016-04-25 18:45:02 +01:00
parent 24a85d1c99
commit 1a01115101
2 changed files with 8 additions and 5 deletions

View File

@@ -50,7 +50,8 @@ struct BaseVehicleListWindow : public Window {
void SortVehicleList();
void BuildVehicleList();
Dimension GetActionDropdownSize(bool show_autoreplace, bool show_group, bool show_template_replace, StringID change_order_str = 0);
DropDownList *BuildActionDropdownList(bool show_autoreplace, bool show_group, bool show_template_replace, StringID change_order_str = 0);
DropDownList *BuildActionDropdownList(bool show_autoreplace, bool show_group, bool show_template_replace,
StringID change_order_str = 0, bool show_create_group = false);
};
uint GetVehicleListHeight(VehicleType type, uint divisor = 1);