mirror of https://github.com/OpenTTD/OpenTTD
Fix: Build road/tram stop windows did not set WindowDesc::ini_key (#11126)
Saved default window sizes were not persisted in the configuration filepull/11076/head
parent
7996752fb1
commit
3ac663e619
|
@ -1681,7 +1681,7 @@ static const NWidgetPart _nested_road_station_picker_widgets[] = {
|
|||
};
|
||||
|
||||
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_station_picker_widgets[] = {
|
|||
};
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue