View Single Post
07-29-08, 01:53 PM   #2
Jashoo
A Deviate Faerie Dragon
 
Jashoo's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 12
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?
__________________
Won't you look at me
I'm crazy
But I get the job done
Yeah I'm crazy
But I get the job done
  Reply With Quote