/branches
if (index ~= 1) then |
table.remove(DA_Vars.Menu, index); |
table.insert(DA_Vars.Menu, index-1, sectionData); |
DagAssistConfigSaveSection(sectionData.Name); |
DagAssistConfigLoadHeaders(sectionData.Name); |
end |
return; |
if (index ~= table.getn(DA_Vars.Menu)) then |
table.remove(DA_Vars.Menu, index); |
table.insert(DA_Vars.Menu, index+1, sectionData); |
DagAssistConfigSaveSection(sectionData.Name); |
DagAssistConfigLoadHeaders(sectionData.Name); |
end |
return; |