wishlist swap button
--added button to swap between own/shared wishlists --updated version number to 7.0
This commit is contained in:
@@ -716,11 +716,18 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource, tablenum)
|
||||
_G["AtlasLootItemsFrame_PREV"]:Hide();
|
||||
_G["AtlasLootItemsFrame_Wishlist_Options"]:Hide();
|
||||
_G["AtlasLootItemsFrame_Wishlist_Share"]:Hide();
|
||||
_G["AtlasLootItemsFrame_Wishlist_Swap"]:Hide();
|
||||
|
||||
-- Show Wishlist buttons when a wishlist in showing
|
||||
if dataSource_backup == "AtlasLootWishList" then
|
||||
_G["AtlasLootItemsFrame_Wishlist_Options"]:Show();
|
||||
_G["AtlasLootItemsFrame_Wishlist_Share"]:Show();
|
||||
_G["AtlasLootItemsFrame_Wishlist_Swap"]:Show();
|
||||
if dataID == "Shared" then
|
||||
AtlasLootItemsFrame_Wishlist_Swap:SetText("Own");
|
||||
elseif dataID == "Own" then
|
||||
AtlasLootItemsFrame_Wishlist_Swap:SetText("Shared");
|
||||
end
|
||||
end
|
||||
|
||||
local tablebase = {dataID, dataSource_backup};
|
||||
|
||||
Reference in New Issue
Block a user