feat: fixed issue with lua 5.0 and backported Ace3

This commit is contained in:
Bluewhale1337
2026-07-26 16:49:36 +02:00
parent 1eb39c9969
commit ccfdc2bdf4
2 changed files with 4 additions and 3 deletions
@@ -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