Skip to content

Commit

Permalink
Fixed config derma not working with array settings (#439)
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 committed Jul 22, 2024
1 parent 3f58441 commit 843391d
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 843391d

Please sign in to comment.