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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user