mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 05:30:00 +00:00
gui: remove obsolete dropdown refresh function
This commit is contained in:
+2
-1
@@ -742,7 +742,8 @@ pfUI:RegisterModule("gui", function ()
|
||||
local values = {}
|
||||
for name, config in pairs(pfUI_profiles) do table.insert(values, name) end
|
||||
pfUIDropDownMenuProfile.values = values
|
||||
pfUIDropDownMenuProfile.Refresh()
|
||||
UIDropDownMenu_SetSelectedID(pfUIDropDownMenuProfile, 0, 0)
|
||||
UIDropDownMenu_SetText("", pfUIDropDownMenuProfile)
|
||||
end
|
||||
|
||||
CreateConfig(nil, this, T["Select profile"], C.global, "profile", "dropdown", values, false, "Profile")
|
||||
|
||||
Reference in New Issue
Block a user