Code:
if (UIDropDownMenu_GetSelectedValue(dropdown) == entry.value) then
entry.checked = true
else
entry.checked = nil
end
So I think it's in this statement. I'm still at work right now so I can't test this till I get home. But I think if I change UIDropDownMenu_GetSelectedValue(dropdown) to caa_set_pack that it will initialize the dropdown box checked to the caa_set_pack variable, which is the current setting variable.
Code:
if (caa_set_pack == entry.value) then
entry.checked = true
else
entry.checked = nil
end
isn't this fun?