1
0
Fork 0

(svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies.

release/1.0
frosch 2009-11-28 13:43:15 +00:00
parent 692a45c352
commit 6734252dfa
1 changed files with 2 additions and 0 deletions

View File

@ -324,9 +324,11 @@ struct TimetableWindow : Window {
this->SetWidgetDisabledState(TTV_CLEAR_TIME, disable); this->SetWidgetDisabledState(TTV_CLEAR_TIME, disable);
this->SetWidgetDisabledState(TTV_SHARED_ORDER_LIST, !v->IsOrderListShared()); this->SetWidgetDisabledState(TTV_SHARED_ORDER_LIST, !v->IsOrderListShared());
this->EnableWidget(TTV_START_DATE);
this->EnableWidget(TTV_RESET_LATENESS); this->EnableWidget(TTV_RESET_LATENESS);
this->EnableWidget(TTV_AUTOFILL); this->EnableWidget(TTV_AUTOFILL);
} else { } else {
this->DisableWidget(TTV_START_DATE);
this->DisableWidget(TTV_CHANGE_TIME); this->DisableWidget(TTV_CHANGE_TIME);
this->DisableWidget(TTV_CLEAR_TIME); this->DisableWidget(TTV_CLEAR_TIME);
this->DisableWidget(TTV_RESET_LATENESS); this->DisableWidget(TTV_RESET_LATENESS);