small fix
This commit is contained in:
@@ -42,6 +42,10 @@ end
|
|||||||
|
|
||||||
function Aux.buy.SearchButton_onclick()
|
function Aux.buy.SearchButton_onclick()
|
||||||
|
|
||||||
|
if not AuxBuySearchButton:IsVisible() then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
AuxBuySearchButton:Hide()
|
AuxBuySearchButton:Hide()
|
||||||
AuxBuyStopButton:Show()
|
AuxBuyStopButton:Show()
|
||||||
|
|
||||||
|
|||||||
@@ -446,10 +446,8 @@ function Aux_ContainerFrameItemButton_OnClick(button)
|
|||||||
AuctionFrameTab_OnClick(Aux.tabs.sell.index)
|
AuctionFrameTab_OnClick(Aux.tabs.sell.index)
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
elseif AUX_BUY_SHORTCUT and IsControlKeyDown() and not ChatFrameEditBox:IsVisible() then
|
elseif AUX_BUY_SHORTCUT and IsControlKeyDown() then
|
||||||
local container_item = Aux.info.container_item(this:GetParent():GetID(), this:GetID())
|
|
||||||
if PanelTemplates_GetSelectedTab(AuctionFrame) ~= Aux.tabs.buy.index 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)
|
AuctionFrameTab_OnClick(Aux.tabs.buy.index)
|
||||||
end
|
end
|
||||||
AuxBuyNameInputBox:SetText(container_item.name)
|
AuxBuyNameInputBox:SetText(container_item.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user