1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Fix #16712: [Plugin] Crash when clicking on a list view item

This commit is contained in:
Ted John
2022-02-24 20:39:11 +00:00
committed by GitHub
parent 88f4148d01
commit 501328bc9a

View File

@@ -933,6 +933,7 @@ namespace OpenRCT2::Ui::Windows
if (widgetDesc.Type == "listview")
{
CustomListView listView(this, info.ListViews.size());
listView.Owner = info.Owner;
listView.SetScrollbars(widgetDesc.Scrollbars, true);
listView.SetColumns(widgetDesc.ListViewColumns, true);
listView.SetItems(widgetDesc.ListViewItems, true);