Quantcast
WoWInterface - View Single Post - QueryAuctionItems causes error in Blizzard_AuctionUI.lua
View Single Post
07-22-16, 01:31 PM   #4
ceylina
A Wyrmkin Dreamwalker
Join Date: Oct 2014
Posts: 50
More observations:

In Blizzard's AuctionUI.lua

The initial value of that drop down is set by


Code:
function BrowseDropDown_OnLoad(self)
	UIDropDownMenu_Initialize(self, BrowseDropDown_Initialize);
	UIDropDownMenu_SetSelectedValue(BrowseDropDown,-1);
end
so therefore if you use QueryAuctionItems() to initiate a fullscan, it will not change that value and I bet anything it get pushed all the way down the code and spits out quality as -1 thus causing the bug when this is hit later in the code

color = ITEM_QUALITY_COLORS[quality];