From 2a6cf50511658ae393026f38a533d1978f5a7222 Mon Sep 17 00:00:00 2001 From: Salikh Gurgenidze Date: Sun, 23 Nov 2025 13:52:28 +0400 Subject: [PATCH] fix: quest item icons --- Guda.toc | 2 +- UI/ItemButton.lua | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Guda.toc b/Guda.toc index 037f9e7..6933128 100644 --- a/Guda.toc +++ b/Guda.toc @@ -2,7 +2,7 @@ ## Title: Guda ## Notes: All-in-one bag and bank addon for Turtle WoW ## Author: Vati -## Version: 1.1.3 +## Version: 1.1.4 ## SavedVariables: Guda_DB ## SavedVariablesPerCharacter: Guda_CharDB diff --git a/UI/ItemButton.lua b/UI/ItemButton.lua index eaa7a2a..2bb1e0c 100644 --- a/UI/ItemButton.lua +++ b/UI/ItemButton.lua @@ -225,8 +225,15 @@ local function Guda_ItemButton_UpdateQuestIcon(self, isQuest, isQuestStarter) if isQuest then -- Set appropriate texture based on quest type - if not isQuestStarter then - addon:Print("isQuestSTarter:" .. tostring(isQuestStarter)) + if isQuestStarter then + -- Quest starter: exclamation mark + local texture = self.questIcon:GetRegions() + if texture and texture.SetTexture then + texture:SetTexture("Interface\\GossipFrame\\AvailableQuestIcon") + texture:SetTexCoord(0, 1, 0, 1) + end + else + -- Regular quest item: question mark local texture = self.questIcon:GetRegions() if texture and texture.SetTexture then texture:SetTexture("Interface\\GossipFrame\\ActiveQuestIcon")