diff options
author | frosch <frosch@openttd.org> | 2009-11-28 13:43:15 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-28 13:43:15 +0000 |
commit | 6734252dfabec7cd4bd6a7ccf186dd509b4eac5f (patch) | |
tree | 1d3714ed58c88c9544c082da6102e6a9a6a48c24 /src | |
parent | 692a45c352480b7cbda767902cece7d793c23298 (diff) | |
download | openttd-6734252dfabec7cd4bd6a7ccf186dd509b4eac5f.tar.xz |
(svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies.
Diffstat (limited to 'src')
-rw-r--r-- | src/timetable_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index ce983b855..c4162370d 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -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); |