From e968a414973ddc9007c64c74178a018ba9cbe80c Mon Sep 17 00:00:00 2001 From: Xurkon Date: Fri, 20 Mar 2026 23:28:56 -0500 Subject: [PATCH] debug: Check autoTrack setting and AutoUntracked state --- Modules/QuestLinks/Hooks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/QuestLinks/Hooks.lua b/Modules/QuestLinks/Hooks.lua index 845aa39..491e84c 100644 --- a/Modules/QuestLinks/Hooks.lua +++ b/Modules/QuestLinks/Hooks.lua @@ -48,10 +48,10 @@ function Hooks:HookQuestLogTitle() -- For all other clicks (including tracking/untracking), use the original function -- only call Questie's tracker if we actually want to fix this quest (normal quests already call AQW_insert) -- Only handle tracking on shift-click for "Talk to" quests (no objectives) - print("[DEBUG] questLogLineIndex=", questLogLineIndex, "numLeaderBoards=", GetNumQuestLeaderBoards(questLogLineIndex), "shift=", IsShiftKeyDown(), "tracked=", Questie.db.char.TrackedQuests[questId]) + print("[DEBUG] questLogLineIndex=", questLogLineIndex, "numLeaderBoards=", GetNumQuestLeaderBoards(questLogLineIndex), "shift=", IsShiftKeyDown(), "autoTrack=", Questie.db.profile.autoTrackQuests) if Questie.db.profile.trackerEnabled and GetNumQuestLeaderBoards(questLogLineIndex) == 0 and IsShiftKeyDown() then local _, _, _, isHeader, _, _, _, questId = GetQuestLogTitle(questLogLineIndex) - print("[DEBUG] After GetQuestLogTitle - isHeader=", isHeader, "questId=", questId) + print("[DEBUG] After GetQuestLogTitle - isHeader=", isHeader, "questId=", questId, "Tracked=", Questie.db.char.TrackedQuests[questId], "AutoUntracked=", Questie.db.char.AutoUntrackedQuests[questId]) if questId and questId > 0 then if Questie.db.char.TrackedQuests[questId] or (Questie.db.profile.autoTrackQuests and (not Questie.db.char.AutoUntrackedQuests[questId])) then -- Quest is currently tracked — hidden it