Haleth / Aurora

Minimalistic UI theme for World of Warcraft
Other
54 stars 23 forks source link

UIDropDownMenu.lua / Check Box Error #229

Closed Lunaeria closed 3 years ago

Lunaeria commented 4 years ago

Every single time I'm using a drop-down menu in-game, as soon as I click on an option (regardless of whether that option utilises a checkbox or not), a lua error pops up. They appear to differ based on which specific button I click in the list (specifically the "DropDownListXButtonY" part of the error, as well as the VALUE part), but there's always an error. An example of one, below:

Message: ...face\AddOns\Aurora\Skin\SharedXML\UIDropDownMenu.lua:108: attempt to index field '_auroraCheckBox' (a nil value)
Time: Fri Oct 16 00:14:39 2020
Count: 1
Stack: ...face\AddOns\Aurora\Skin\SharedXML\UIDropDownMenu.lua:108: attempt to index field '_auroraCheckBox' (a nil value)
[string "@Interface\AddOns\Aurora\Skin\SharedXML\UIDropDownMenu.lua"]:108: in function <...face\AddOns\Aurora\Skin\SharedXML\UIDropDownMenu.lua:104>
[string "=[C]"]: ?

Locals: self = DropDownList1Button8 {
 0 = <userdata>
 Highlight = DropDownList1Button8Highlight {
 }
 invisibleButton = DropDownList1Button8InvisibleButton {
 }
 func = <function> defined @Interface\FrameXML\UnitPopup.lua:1735
 notCheckable = true
 value = "WHISPER"
 Icon = DropDownList1Button8Icon {
 }
 tooltipTitle = "Whisper"
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '_auroraCheckBox' (a nil value)"