LenweSaralonde / Musician

Add-on for World of Warcraft to perform music in game.
https://musician.lenwe.io
GNU General Public License v3.0
11 stars 4 forks source link

LUA error on checkboxes in WoW Classic #49

Closed LenweSaralonde closed 4 years ago

LenweSaralonde commented 4 years ago

Mute, solo and power chords checkboxes do not work in WoW Classic and trigger a LUA error.

Message: Interface\FrameXML\OptionsPanelTemplates.lua:201: Usage: GetCVar("cvar")
Time: Fri Aug 14 00:26:00 2020
Count: 3
Stack: Interface\FrameXML\OptionsPanelTemplates.lua:201: Usage: GetCVar("cvar")
[C]: in function `GetCVar'
Interface\FrameXML\OptionsPanelTemplates.lua:201: in function `BlizzardOptionsPanel_SetCVarSafe'
Interface\FrameXML\OptionsPanelTemplates.lua:153: in function `BlizzardOptionsPanel_CheckButton_SetNewValue'
Interface\FrameXML\OptionsPanelTemplates.lua:131: in function `BlizzardOptionsPanel_CheckButton_OnClick'
[string "*:OnClick"]:6: in function <[string "*:OnClick"]:1>

Locals: (*temporary) = nil

Override OnClick for checkboxes that inherit from OptionsSmallCheckButtonTemplate