Changeset - r27955:1a4ed8a9e15d
[Not reviewed]
master
0 1 0
frosch - 15 months ago 2023-09-20 19:23:42
frosch@openttd.org
Fix b5885295: NewGRF preset dropdown was broken.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -1171,7 +1171,7 @@ struct NewGRFWindow : public Window, New
 

	
 
	void OnDropdownSelect(int widget, int index) override
 
	{
 
		if (widget >= 0) return;
 
		if (widget != WID_NS_PRESET_LIST) return;
 
		if (!this->editable) return;
 

	
 
		ClearGRFConfigList(&this->actives);
0 comments (0 inline, 0 general)