WQAchievements

WQAchievements

250k Downloads

Error on opening Settings Panel via LDB button

tflo opened this issue · 1 comments

commented

When right-clicking the LDB button to open the settings, I get attempt to call global 'InterfaceOptionsFrame_Show' (a nil value):

Details
2x WQAchievements/WQAchievements.lua:3214: attempt to call global 'InterfaceOptionsFrame_Show' (a nil value)
[string "@WQAchievements/WQAchievements.lua"]:3214: in function `OnClick'
[string "@Bazooka/Bazooka.lua"]:1417: in function <Bazooka/Bazooka.lua:1414>

Locals:
self = BazookaPlugin_WQAchievements {
 SetAlpha = <function> defined @Bazooka/Bazooka.lua:1481
 bzkAlpha = 1
 GetAlpha = <function> defined @Bazooka/Bazooka.lua:1495
 0 = <userdata>
 bzkPlugin = <table> {
 }
}
button = "RightButton"
(*temporary) = nil
(*temporary) = "attempt to call global 'InterfaceOptionsFrame_Show' (a nil value)"
WQA = <table> {
 watched = <table> {
 }
 IsQuestFlaggedCompleted = <function> defined @WQAchievements/WQAchievements.lua:3456
 UpdateCustomRewards = <function> defined @WQAchievements/Options.lua:1528
 SetRewardLinkByID = <function> defined @WQAchievements/WQAchievements.lua:3021
 EnableModule = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
 modules = <table> {
 }
 GetRewardForID = <function> defined @WQAchievements/WQAchievements.lua:1739
 IterateEmbeds = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
 ToggleGet = <function> defined @WQAchievements/Options.lua:1313
 CreateCustomQuest = <function> defined @WQAchievements/Options.lua:1399
 debug = false
 isQuestPinActive = <function> defined @WQAchievements/WQAchievements.lua:3445
 slash = <function> defined @WQAchievements/WQAchievements.lua:468
 SetDefaultModulePrototype = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
 Show = <function> defined @WQAchievements/WQAchievements.lua:1586
 itemList = <table> {
 }
 defaultModuleState = true
 AnnouncePopUp = <function> defined @WQAchievements/WQAchievements.lua:2879
 IsEnabled = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
 ExpansionList = <table> {
 }
 ScheduleTimer = <function> defined @DataStore/libs/AceTimer-3.0/AceTimer-3.0.lua:94
 DisableModule = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
 missionList = <table> {
 }
 CreateCustomMissionReward = <function> defined @WQAchievements/Options.lua:1658
 options = <table> {
 }
 GetArgs = <function> defined @Accountant_Classic/Libs/AceConsole-3.0/AceConsole-3.0.lua:140
 data = <table> {
 }
 CreateGroup = <function> defined @WQAchievements/Options.lua:1316
 start = 192369.200000
 questList = <table> {
 }
 ZoneIDList = <table> {
 }
 emissaryRewards = true
 EmissaryReward = <function> defined @WQAchievements/WQAchievements.lua:3120
 questPinMapList = <table> {
 }
 AddRewardToMission = <function> defined @WQAchievements/WQAchievements.lua:1491
 CreateCustomReward = <function> defined @WQAchievements/Options.lua:1517
 SetEnabledState = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:420
 IsTransmogable = <function> defined @WQAchievements/WQAchievements.lua:2144
 enabledState = true
 link = <function> defined @WQAchievements/WQAchievements.lua:1725
 playerName = "Yeslick-AzjolNerub"
 rewards = true
 questPinList = <table> {
 }
 links = <table> {
 }
 event = Frame {
 }
 IterateModules = <function> defined @Accountant_Classic/Libs/AceAddon-3.0/AceAddon-3.0.lua:433
 optionsFrame = Frame {
 }
 faction = "Alliance"
 db = <table> {
 }
 baseName = "WQAchievements"
 SortOptions = <function> defined @WQAchievements/Options.lua:1720
 Reward = <function> defined @WQAchievements/WQAchievements.lua:2000
 CancelTimer = <function> defined @DataStore/libs/AceTimer-3.0/AceTimer-3.0.lua:147
 CheckWQ = <function> defined @WQAchievements/WQAchievements.lua:1597
 AddToys = <function> defined @WQAchievements/WQAchievements.lua:1432
 AddMounts = <function> defined @WQAchievements/WQAchievements.lua:1359
 OnInitialize = <funct

I think the 10.0 function is Settings.OpenToCategory().

(Originally posted as part of #118)

– Tom

commented

Settings.OpenToCategory() works. Thanks for the help.