Changeset - r20300:c9a1fb7bc57b
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-05-31 18:47:49
frosch@openttd.org
(svn r25307) -Fix: Do not focus the editbox in the NewGRF window, if there is no editbox visible.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -646,7 +646,7 @@ struct NewGRFWindow : public Window, New
 

	
 
		this->querystrings[WID_NS_FILTER] = &this->filter_editbox;
 
		this->filter_editbox.cancel_button = QueryString::ACTION_CLEAR;
 
		this->SetFocusedWidget(WID_NS_FILTER);
 
		if (editable) this->SetFocusedWidget(WID_NS_FILTER);
 

	
 
		this->avails.SetListing(this->last_sorting);
 
		this->avails.SetFiltering(this->last_filtering);
0 comments (0 inline, 0 general)