small fix

This commit is contained in:
Manuel Simon Hirsig
2015-10-01 23:13:44 +02:00
parent 85c0101b85
commit c7ca49b812
2 changed files with 5 additions and 3 deletions
+4
View File
@@ -42,6 +42,10 @@ end
function Aux.buy.SearchButton_onclick()
if not AuxBuySearchButton:IsVisible() then
return
end
AuxBuySearchButton:Hide()
AuxBuyStopButton:Show()
+1 -3
View File
@@ -446,10 +446,8 @@ function Aux_ContainerFrameItemButton_OnClick(button)
AuctionFrameTab_OnClick(Aux.tabs.sell.index)
end
return
elseif AUX_BUY_SHORTCUT and IsControlKeyDown() and not ChatFrameEditBox:IsVisible() then
local container_item = Aux.info.container_item(this:GetParent():GetID(), this:GetID())
elseif AUX_BUY_SHORTCUT and IsControlKeyDown() then
if PanelTemplates_GetSelectedTab(AuctionFrame) ~= Aux.tabs.buy.index then
local container_item = Aux.info.container_item(this:GetParent():GetID(), this:GetID())
AuctionFrameTab_OnClick(Aux.tabs.buy.index)
end
AuxBuyNameInputBox:SetText(container_item.name)