Skip to content

Commit

Permalink
Fix Bindings for quest btn
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed Jun 3, 2024
1 parent cd28a30 commit bed6006
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 0 additions & 3 deletions APR-Core/Bindings.xml

This file was deleted.

2 changes: 1 addition & 1 deletion APR-Core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function APR:OnInitialize()

-- APR Global Variables, UI oriented
BINDING_HEADER_APR = APR.title -- Header text for APR's main frame
_G["BINDING_NAME_" .. "CLICK APRItemButton:LeftButton"] = L["USE_QUEST_ITEM"]
_G["BINDING_NAME_" .. "CLICK APR_ItemButton:LeftButton"] = L["USE_QUEST_ITEM"]

-- Register tot party frame
C_ChatInfo.RegisterAddonMessagePrefix("APRPartyData")
Expand Down
2 changes: 1 addition & 1 deletion APR-Core/CurrentStep.lua
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function APR.currentStep:AddStepButton(questsListKey, itemID, attribute)
return
end

local IconButton = CreateFrame("Button", "$parentIconButton", container,
local IconButton = CreateFrame("Button", "APR_ItemButton", container,
"SecureActionButtonTemplate, BackdropTemplate")
IconButton:SetSize(25, 25)
PositionStepButtons(container, IconButton)
Expand Down
3 changes: 3 additions & 0 deletions Bindings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Bindings>
<Binding name="CLICK APR_ItemButton:LeftButton" header="Use Items" category="BINDING_HEADER_APR"/>
</Bindings>

0 comments on commit bed6006

Please sign in to comment.