wishlist swap button

--added button to swap between own/shared wishlists
--updated version number to 7.0
This commit is contained in:
Anch
2022-09-21 13:55:18 +12:00
parent 40dd46a262
commit ef907c7321
5 changed files with 35 additions and 7 deletions
+7
View File
@@ -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};