Changeset - r27719:9b72d80a41b2
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 11 months ago 2023-07-12 20:07:31
j.g.rennison@gmail.com
Fix: Build road/tram stop windows did not set WindowDesc::ini_key (#11126)

Saved default window sizes were not persisted in the configuration file
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/road_gui.cpp
Show inline comments
 
@@ -1681,7 +1681,7 @@ static const NWidgetPart _nested_road_st
 
};
 

	
 
static WindowDesc _road_station_picker_desc(
 
	WDP_AUTO, nullptr, 0, 0,
 
	WDP_AUTO, "build_station_road", 0, 0,
 
	WC_BUS_STATION, WC_BUILD_TOOLBAR,
 
	WDF_CONSTRUCTION,
 
	_nested_road_station_picker_widgets, lengthof(_nested_road_station_picker_widgets)
 
@@ -1766,7 +1766,7 @@ static const NWidgetPart _nested_tram_st
 
};
 

	
 
static WindowDesc _tram_station_picker_desc(
 
	WDP_AUTO, nullptr, 0, 0,
 
	WDP_AUTO, "build_station_tram", 0, 0,
 
	WC_BUS_STATION, WC_BUILD_TOOLBAR,
 
	WDF_CONSTRUCTION,
 
	_nested_tram_station_picker_widgets, lengthof(_nested_tram_station_picker_widgets)
0 comments (0 inline, 0 general)