# HG changeset patch # User Tyler Trahan # Date 2024-02-06 22:44:37 # Node ID d593090c0f0e490248004c44249889c5edcaca5a # Parent 5311071f6e677acf1038f55fca82601e3e4711bb Fix #12019: Correctly highlight depot unbunch action in dropdown diff --git a/src/order_gui.cpp b/src/order_gui.cpp --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -194,6 +194,8 @@ static int DepotActionStringIndex(const return DA_STOP; } else if (order->GetDepotOrderType() & ODTFB_SERVICE) { return DA_SERVICE; + } else if (order->GetDepotActionType() & ODATFB_UNBUNCH) { + return DA_UNBUNCH; } else { return DA_ALWAYS_GO; }