From a9b1a36656c892b932c75ea154c09144e549d474 Mon Sep 17 00:00:00 2001 From: alberth Date: Tue, 10 Jul 2012 17:35:10 +0000 Subject: [PATCH] (svn r24392) -Fix [FS#5239]: Use the 'all vehicles' group for the autoreplace window from the vehicle list. --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index d307468e98..be36c01693 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1544,7 +1544,7 @@ public: switch (index) { case ADI_REPLACE: // Replace window - ShowReplaceGroupVehicleWindow(DEFAULT_GROUP, this->vli.vtype); + ShowReplaceGroupVehicleWindow(ALL_GROUP, this->vli.vtype); break; case ADI_SERVICE: // Send for servicing case ADI_DEPOT: // Send to Depots