1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 06:59:10 +00:00

(svn r24834) -Fix [FS#5396]: The autorefit dropdown in the order GUI wasn't always updated when modifying vehicle consists.

This commit is contained in:
michi_cc
2012-12-20 19:44:06 +00:00
parent c75962e04c
commit 01566d6816
2 changed files with 5 additions and 0 deletions

View File

@@ -242,6 +242,7 @@ void Train::ConsistChanged(bool same_length)
this->UpdateAcceleration();
SetWindowDirty(WC_VEHICLE_DETAILS, this->index);
InvalidateWindowData(WC_VEHICLE_REFIT, this->index, VIWD_CONSIST_CHANGED);
InvalidateWindowData(WC_VEHICLE_ORDERS, this->index, VIWD_CONSIST_CHANGED);
}
}