Skip to content

Commit

Permalink
Update signature of AddItemAndIcon (#55) (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kexanone authored Dec 12, 2024
1 parent 7664e25 commit 452e55e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ class GME_ListboxSingleSelectDialog: ChimeraMenuBase
void AddItemAndIconToListbox(string name, ResourceName imageOrImageset, string iconName, Managed data = null)
{
if (m_ListBoxComponent)
m_ListBoxComponent.AddItemAndIcon(name, imageOrImageset, iconName, data);
{
SCR_ListBoxElementComponent comp;
m_ListBoxComponent.AddItemAndIcon(name, imageOrImageset, iconName, comp, data);
}
}

void SetTitle(string title)
Expand Down

0 comments on commit 452e55e

Please sign in to comment.