diff options
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r-- | src/order_gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 52f5c8c16..965ba4838 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -869,6 +869,10 @@ public: case VIWD_AUTOREPLACE: /* Autoreplace replaced the vehicle */ this->vehicle = Vehicle::Get(this->window_number); + /* FALL THROUGH */ + + case VIWD_CONSIST_CHANGED: + /* Vehicle composition was changed. */ this->UpdateAutoRefitState(); break; |