minor bugfix for deposit, saved searches and some other settings are now account wide, the search tab now has a separate status bar for every history entry and switching no longer aborts

This commit is contained in:
Manuel Simon Hirsig
2016-07-29 05:46:15 +02:00
parent 6e48220ebc
commit e4a51e58ed
8 changed files with 80 additions and 83 deletions
+3 -13
View File
@@ -84,23 +84,13 @@ function public.auction_sell_item()
local name, texture, count, quality, usable, vendor_price = GetAuctionSellItemInfo()
if name then
local unit_vendor_price = vendor_price / count
local tooltip = m.tooltip(function(tt) tt:SetAuctionSellItem() end)
local charges = m.item_charges(tooltip)
local aux_quantity = charges > 1 and charges or count
return {
name = name,
texture = texture,
quality = quality,
stack_size = count,
count = count,
usable = usable,
vendor_price = vendor_price,
unit_vendor_price = unit_vendor_price,
tooltip = tooltip,
aux_quantity = aux_quantity,
vendor_price = vendor_price, -- it seems for charge items this is always the price for full charges
}
end
end
@@ -328,7 +318,7 @@ function private.item_charges(tooltip)
return 1
end
function private.max_item_charges(item_id)
function public.max_item_charges(item_id)
return ({
-- wizard oil
[20744] = 5,