mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
feat: fixed issue with lua 5.0 and backported Ace3
This commit is contained in:
@@ -942,18 +942,18 @@ local function BuildTabs(group, options, path, appName)
|
||||
|
||||
BuildSortedOptionsTable(group, keySort, opts, options, path, appName)
|
||||
|
||||
for i = 1, #keySort do
|
||||
for i = 1, getn(keySort) do
|
||||
local k = keySort[i]
|
||||
local v = opts[k]
|
||||
if v.type == "group" then
|
||||
path[#path+1] = k
|
||||
path[getn(path)+1] = k
|
||||
local inline = pickfirstset(v.dialogInline,v.guiInline,v.inline, false)
|
||||
local hidden = CheckOptionHidden(v, options, path, appName)
|
||||
if not inline and not hidden then
|
||||
tinsert(tabs, k)
|
||||
text[k] = GetOptionsMemberValue("name", v, options, path, appName)
|
||||
end
|
||||
path[#path] = nil
|
||||
path[getn(path)] = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user