From 6734252dfabec7cd4bd6a7ccf186dd509b4eac5f Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 28 Nov 2009 13:43:15 +0000 Subject: (svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies. --- src/timetable_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3-70-g09d2