Skip to content

Commit 452e55e

Browse files
authored
Update signature of AddItemAndIcon (#55) (#64)
1 parent 7664e25 commit 452e55e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

addons/GME/Scripts/Game/GME/UI/Menu/GME_ListboxSingleSelectDialog.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ class GME_ListboxSingleSelectDialog: ChimeraMenuBase
9999
void AddItemAndIconToListbox(string name, ResourceName imageOrImageset, string iconName, Managed data = null)
100100
{
101101
if (m_ListBoxComponent)
102-
m_ListBoxComponent.AddItemAndIcon(name, imageOrImageset, iconName, data);
102+
{
103+
SCR_ListBoxElementComponent comp;
104+
m_ListBoxComponent.AddItemAndIcon(name, imageOrImageset, iconName, comp, data);
105+
}
103106
}
104107

105108
void SetTitle(string title)

0 commit comments

Comments
 (0)