Changeset - r10115:ce5ea0a7b71c
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-09-12 17:38:57
rubidium@openttd.org
(svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -380,6 +380,7 @@ struct NewGRFWindow : public Window {
 
			WIDGET_LIST_END
 
		);
 
		this->SetWidgetDisabledState(SNGRFS_SET_PARAMETERS, !this->show_params || disable_all);
 
		this->SetWidgetDisabledState(SNGRFS_TOGGLE_PALETTE, disable_all);
 

	
 
		if (!disable_all) {
 
			/* All widgets are now enabled, so disable widgets we can't use */
0 comments (0 inline, 0 general)