Merge branch 'master' into jgrpp
# Conflicts: # src/widgets/dropdown.cpp # src/widgets/dropdown_type.h
This commit is contained in:
@@ -1375,7 +1375,7 @@ struct RefitWindow : public Window {
|
||||
offset++;
|
||||
}
|
||||
|
||||
ShowDropDownList(this, std::move(dlist), selected, WID_VR_VEHICLE_DROPDOWN, 0, true);
|
||||
ShowDropDownList(this, std::move(dlist), selected, WID_VR_VEHICLE_DROPDOWN);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -3992,7 +3992,7 @@ public:
|
||||
list.emplace_back(new DropDownListStringItem(BaseVehicleListWindow::vehicle_depot_name[v->type], DEPOT_DONT_CANCEL, flags == ODATFB_HALT));
|
||||
list.emplace_back(new DropDownListStringItem(BaseVehicleListWindow::vehicle_depot_sell_name[v->type], DEPOT_SELL | DEPOT_DONT_CANCEL, flags == (ODATFB_HALT | ODATFB_SELL)));
|
||||
list.emplace_back(new DropDownListStringItem(STR_VEHICLE_LIST_CANCEL_DEPOT_SERVICE, DEPOT_CANCEL, false));
|
||||
ShowDropDownList(this, std::move(list), -1, widget, 0, true);
|
||||
ShowDropDownList(this, std::move(list), -1, widget);
|
||||
} else {
|
||||
this->HandleButtonClick(WID_VV_GOTO_DEPOT);
|
||||
DoCommandP(v->tile, v->index | (_ctrl_pressed ? DEPOT_SERVICE : 0U), 0, GetCmdSendToDepot(v));
|
||||
|
Reference in New Issue
Block a user