Changeset - r13778:e2946155aed7
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2009-11-28 13:43:15
frosch@openttd.org
(svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/timetable_gui.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)