Changeset - r22517:e6b6afd28d6e
[Not reviewed]
master
0 1 0
frosch - 8 years ago 2017-01-07 21:28:03
frosch@openttd.org
(svn r27724) -Cleanup: Remove pointless usage of IsOpenTTDBaseGRF. System GRFs are never listed in the NewGRF GUI.
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -1279,7 +1279,6 @@ struct NewGRFWindow : public Window, New
 
			/* All widgets are now enabled, so disable widgets we can't use */
 
			if (this->active_sel == this->actives)    this->DisableWidget(WID_NS_MOVE_UP);
 
			if (this->active_sel->next == NULL)       this->DisableWidget(WID_NS_MOVE_DOWN);
 
			if (this->active_sel->IsOpenTTDBaseGRF()) this->DisableWidget(WID_NS_REMOVE);
 
		}
 

	
 
		this->SetWidgetDisabledState(WID_NS_PRESET_DELETE, this->preset == -1);
0 comments (0 inline, 0 general)