AutoQuery checkbox fixes

Renamed to ItemAutoQuery
This commit is contained in:
HonkinGamer
2020-09-10 19:21:39 -04:00
parent 5825ce81f0
commit 4cc802fae5
4 changed files with 24 additions and 16 deletions
+9 -6
View File
@@ -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>