Feature: Ctrl+Click to reset late counter for the entire vehicle group.

This commit is contained in:
Bilongozhko, Serhii (Contractor)
2023-02-10 13:29:29 -05:00
committed by rubidium42
parent 231935fccd
commit 35ad964c6b
4 changed files with 22 additions and 6 deletions

View File

@@ -600,7 +600,7 @@ struct TimetableWindow : Window {
}
case WID_VT_RESET_LATENESS: // Reset the vehicle's late counter.
Command<CMD_SET_VEHICLE_ON_TIME>::Post(STR_ERROR_CAN_T_TIMETABLE_VEHICLE, v->index);
Command<CMD_SET_VEHICLE_ON_TIME>::Post(STR_ERROR_CAN_T_TIMETABLE_VEHICLE, v->index, _ctrl_pressed);
break;
case WID_VT_AUTOFILL: { // Autofill the timetable.