Fix: Build road/tram stop windows did not set WindowDesc::ini_key (#11126)

Saved default window sizes were not persisted in the configuration file
This commit is contained in:
Jonathan G Rennison 2023-07-12 21:07:31 +01:00 committed by GitHub
parent 7996752fb1
commit 3ac663e619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)