Quantcast
WoWInterface - View Single Post - AH search text addon breaks the auctioneer
View Single Post
07-02-20, 06:49 PM   #1
alikim
A Fallenroot Satyr
Join Date: Jul 2015
Posts: 27
AH search text addon breaks the auctioneer

I want to copy the name of a craftable item from the crafting window to the AH window's search bar, when I click on the items' icon, so I wrote the following macros:


/run TradeSkillFrame.DetailsFrame.Contents.ResultIcon:SetScript("OnClick", function(self, event, ...) local t = {}; C_TradeSkillUI.GetRecipeInfo(TradeSkillFrame.DetailsFrame.selectedRecipeID, t); AuctionHouseFrame.SearchBar.SearchBox:SetText(t.name); end);

It works and does what I want but when I press Search button in the AH window it keeps showing me the yellow rotating circle and nothing happens. The auctioneer stops working altogether and reloading the UI doesn't help - I have to relog to make it work again.

So, what am I doing wrong?

Thank you!
  Reply With Quote