AutoQuery checkbox fixes
Renamed to ItemAutoQuery
This commit is contained in:
@@ -15,6 +15,7 @@ AtlasLootBoss_OnClick()
|
||||
AtlasLoot_ShowItemsFrame()
|
||||
AtlasLoot_GenerateAtlasMenu(dataID, pFrame)
|
||||
AtlasLoot_SetupForAtlas()
|
||||
AtlasLootOptions_ItemAutoQuery()
|
||||
AtlasLoot_SetItemInfoFrame()
|
||||
AtlasLootItemsFrame_OnCloseButton()
|
||||
AtlasLootMenuItem_OnClick()
|
||||
@@ -90,6 +91,7 @@ local AtlasLootDBDefaults = {
|
||||
LootlinkTT = false,
|
||||
ItemSyncTT = false,
|
||||
EquipCompare = false,
|
||||
ItemAutoQuery = false,
|
||||
Opaque = false,
|
||||
ItemIDs = false,
|
||||
ItemSpam = false,
|
||||
@@ -105,7 +107,7 @@ local AtlasLootDBDefaults = {
|
||||
AtlasLootVersion = "1",
|
||||
AtlasNaggedVersion = "",
|
||||
FuBarPosition = 1,
|
||||
AutoQuery = true,
|
||||
AutoQuery = false,
|
||||
LoadAllLoDStartup = false,
|
||||
PartialMatching = true,
|
||||
LootBrowserStyle = 1,
|
||||
@@ -1410,7 +1412,6 @@ function AtlasLoot_QueryLootPage()
|
||||
if (queryitem) and (queryitem ~= nil) and (queryitem ~= "") and (queryitem ~= 0) and (string.sub(queryitem, 1, 1) ~= "s") then
|
||||
GameTooltip:SetHyperlink("item:"..queryitem..":0:0:0:0:0:0:0");
|
||||
GameTooltip:SetHyperlink("item:60"..queryitem..":0:0:0:0:0:0:0");
|
||||
GameTooltip:SetHyperlink("item:2"..queryitem..":0:0:0:0:0:0:0");
|
||||
end
|
||||
i=i+1;
|
||||
end
|
||||
|
||||
@@ -582,7 +582,7 @@
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
AtlasLoot_10Man25ManToggle();
|
||||
if AtlasLoot.db.profile.AutoQuery then
|
||||
if AtlasLoot.db.profile.ItemAutoQuery then
|
||||
AtlasLoot_QueryLootPage();
|
||||
end
|
||||
</OnClick>
|
||||
@@ -606,7 +606,7 @@
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
AtlasLoot_HeroicModeToggle();
|
||||
if AtlasLoot.db.profile.AutoQuery then
|
||||
if AtlasLoot.db.profile.ItemAutoQuery then
|
||||
AtlasLoot_QueryLootPage();
|
||||
end
|
||||
</OnClick>
|
||||
@@ -632,7 +632,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLoot_NavButton_OnClick()
|
||||
if AtlasLoot.db.profile.AutoQuery then
|
||||
if AtlasLoot.db.profile.ItemAutoQuery then
|
||||
AtlasLoot_QueryLootPage();
|
||||
end
|
||||
</OnClick>
|
||||
@@ -654,6 +654,9 @@
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnShow>
|
||||
if AtlasLoot.db.profile.ItemAutoQuery then
|
||||
AtlasLoot_QueryLootPage();
|
||||
end
|
||||
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
||||
this:SetText(AL["Query Server"]);
|
||||
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
||||
@@ -739,7 +742,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLoot_NavButton_OnClick()
|
||||
if AtlasLoot.db.profile.AutoQuery then
|
||||
if AtlasLoot.db.profile.ItemAutoQuery then
|
||||
AtlasLoot_QueryLootPage();
|
||||
end
|
||||
</OnClick>
|
||||
@@ -1009,7 +1012,7 @@
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="$parentAutoQuery" inherits="OptionsCheckButtonTemplate">
|
||||
<CheckButton name="$parentItemAutoQuery" inherits="OptionsCheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOP">
|
||||
<Offset>
|
||||
@@ -1023,7 +1026,7 @@
|
||||
getglobal(this:GetName().."Text"):SetText(AL["Auto Query items on page load"]);
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
AtlasLootOptions_AutoQuery();
|
||||
AtlasLootOptions_ItemAutoQuery();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
@@ -13,7 +13,7 @@ AtlasLootOptions_EquipCompareToggle()
|
||||
AtlasLootOptions_OpaqueToggle()
|
||||
AtlasLootOptions_ItemIDToggle()
|
||||
AtlasLootOptions_ItemSpam()
|
||||
AtlasLootOptions_AutoQuery()
|
||||
AtlasLootOptions_ItemAutoQuery()
|
||||
AtlasLootOptions_MinimapToggle()
|
||||
AtlasLootOptions_LoDSpam()
|
||||
AtlasLootOptions_LoDStartup()
|
||||
@@ -46,6 +46,7 @@ function AtlasLootOptions_Init()
|
||||
AtlasLootOptionsFrameLootlinkTT:SetChecked(AtlasLoot.db.profile.LootlinkTT);
|
||||
AtlasLootOptionsFrameItemSyncTT:SetChecked(AtlasLoot.db.profile.ItemSyncTT);
|
||||
AtlasLootOptionsFrameEquipCompare:SetChecked(AtlasLoot.db.profile.EquipCompare);
|
||||
AtlasLootOptionsFrameItemAutoQuery:SetChecked(AtlasLoot.db.profile.ItemAutoQuery);
|
||||
AtlasLootOptionsFrameOpaque:SetChecked(AtlasLoot.db.profile.Opaque);
|
||||
AtlasLootOptionsFrameItemID:SetChecked(AtlasLoot.db.profile.ItemIDs);
|
||||
AtlasLootOptionsFrameItemSpam:SetChecked(AtlasLoot.db.profile.ItemSpam);
|
||||
@@ -119,11 +120,11 @@ function AtlasLootOptions_ItemSpam()
|
||||
AtlasLootOptions_Init();
|
||||
end
|
||||
|
||||
function AtlasLootOptions_AutoQuery()
|
||||
if (AtlasLoot.db.profile.AutoQuery) then
|
||||
AtlasLoot.db.profile.AutoQuery = false;
|
||||
function AtlasLootOptions_ItemAutoQuery()
|
||||
if (AtlasLoot.db.profile.ItemAutoQuery) then
|
||||
AtlasLoot.db.profile.ItemAutoQuery = false;
|
||||
else
|
||||
AtlasLoot.db.profile.AutoQuery = true;
|
||||
AtlasLoot.db.profile.ItemAutoQuery = true;
|
||||
end
|
||||
AtlasLootOptions_Init();
|
||||
end
|
||||
@@ -228,7 +229,7 @@ function AtlasLoot_CreateOptionsInfoTooltips()
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrameHidePanel", nil) -- AL["Hide AtlasLoot Panel"]
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrameItemSpam", nil) -- AL["Suppress Item Query Text"]
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrameLoDSpam", nil) -- AL["Notify on LoD Module Load"]
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrameAutoQuery", nil) -- AL["Auto Query items on page load"]
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrameItemAutoQuery", nil) -- AL["Auto Query items on page load"]
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrameLootBrowserScale", nil) -- Scale SLIDER
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrame_ResetAtlasLoot", nil) -- AL["Reset Frames"]
|
||||
AtlasLoot_AddTooltip("AtlasLootOptionsFrame_ResetWishlist", nil) -- AL["Reset Wishlist"]
|
||||
|
||||
@@ -29,11 +29,14 @@ TBC improvements contributed by Szyler:
|
||||
v1.4 06/07/2020
|
||||
- Sets collection cleanup for TBC
|
||||
- Added Heroic gear
|
||||
- Drowndown menus
|
||||
- Dropdown menu visuals/order changed.
|
||||
- To view keys click the Dungeon/Raid headers
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
v1.5 09/08/2020
|
||||
- Bloody item server query
|
||||
- Optional query on page load
|
||||
- Bloody Link in chat
|
||||
|
||||
- To link bloody items, click the Query Server button which will load all items and bloody versions
|
||||
Then right click an item and the bloody version will show in chat.
|
||||
(Must have 'Safe Chat Links' enabled in your options)
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user