mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 03:48:43 +00:00
(svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies.
This commit is contained in:
parent
692a45c352
commit
6734252dfa
@ -324,9 +324,11 @@ struct TimetableWindow : Window {
|
||||
this->SetWidgetDisabledState(TTV_CLEAR_TIME, disable);
|
||||
this->SetWidgetDisabledState(TTV_SHARED_ORDER_LIST, !v->IsOrderListShared());
|
||||
|
||||
this->EnableWidget(TTV_START_DATE);
|
||||
this->EnableWidget(TTV_RESET_LATENESS);
|
||||
this->EnableWidget(TTV_AUTOFILL);
|
||||
} else {
|
||||
this->DisableWidget(TTV_START_DATE);
|
||||
this->DisableWidget(TTV_CHANGE_TIME);
|
||||
this->DisableWidget(TTV_CLEAR_TIME);
|
||||
this->DisableWidget(TTV_RESET_LATENESS);
|
||||
|
Loading…
Reference in New Issue
Block a user