Skip to content

Commit

Permalink
Fixed config derma not working with array settings
Browse files Browse the repository at this point in the history
Populate function required for array type setting rows was missing from the population function for ixConfigManager, which resulted in an empty options array for the ComboBox element.
  • Loading branch information
DoopieWop authored Jul 21, 2024
1 parent c1839ed commit 0c25c4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gamemode/core/derma/cl_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function PANEL:Populate()

local row = self:AddRow(type, categoryPhrase)
row:SetText(ix.util.ExpandCamelCase(k))
row:Populate(k, v.data)

-- type-specific properties
if (type == ix.type.number) then
Expand Down

0 comments on commit 0c25c4d

Please sign in to comment.