Skip to content

Commit

Permalink
[Config] Fix error where there's no accompanying text for ShestakUIOp…
Browse files Browse the repository at this point in the history
…tionsPanelfilgercategory_listDropDown
  • Loading branch information
EsreverWoW committed Jan 18, 2023
1 parent a7ee4cd commit 8ea1040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI_Config/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ local function displaySettings()
end

for _, dropdown in pairs(dropdowns) do
local text = DropDownText[C[dropdown.group][dropdown.option]] or C[dropdown.group][dropdown.option]
local text = DropDownText[C[dropdown.group][dropdown.option]] or C[dropdown.group][dropdown.option] or ""
UIDropDownMenu_SetText(dropdown, text)
dropdown.selectedValue = C[dropdown.group][dropdown.option]
dropdown.oldValue = C[dropdown.group][dropdown.option]
Expand Down

0 comments on commit 8ea1040

Please sign in to comment.