diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index 89bc41d..199edbc 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -784,6 +784,7 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame) itemButton:Show(); if dataSource[dataID][i][2] == 0 then getglobal("AtlasLootItem_"..i.."_Unsafe"):Hide(); end + end end @@ -914,6 +915,8 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame) if ATLASLOOT_FILTER_ENABLE == true and dataID ~= "FilterList" then AtlasLoot_HideNoUsableItems() end + + if AtlasLoot.db.profile.ItemAutoQuery then AtlasLoot_QueryLootPage(); end end --[[ diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml index 8efa9e5..93c93ce 100644 --- a/AtlasLoot/Core/AtlasLoot.xml +++ b/AtlasLoot/Core/AtlasLoot.xml @@ -582,9 +582,6 @@ AtlasLoot_10Man25ManToggle(); - if AtlasLoot.db.profile.ItemAutoQuery then - AtlasLoot_QueryLootPage(); - end @@ -605,10 +602,7 @@ getglobal(this:GetName().."Text"):SetText(AL["Heroic Mode"]); - AtlasLoot_HeroicModeToggle(); - if AtlasLoot.db.profile.ItemAutoQuery then - AtlasLoot_QueryLootPage(); - end + AtlasLoot_HeroicModeToggle(); @@ -632,9 +626,6 @@ AtlasLoot_NavButton_OnClick() - if AtlasLoot.db.profile.ItemAutoQuery then - AtlasLoot_QueryLootPage(); - end this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 ); @@ -654,9 +645,6 @@ - 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 ); @@ -742,9 +730,6 @@ AtlasLoot_NavButton_OnClick() - if AtlasLoot.db.profile.ItemAutoQuery then - AtlasLoot_QueryLootPage(); - end this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 ); diff --git a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.xml b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.xml index a27d04e..8c805ac 100644 --- a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.xml +++ b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.xml @@ -223,7 +223,7 @@ AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][2][1], AtlasLootCharDB["QuickLooks"][2][2], AtlasLootCharDB["QuickLooks"][2][3], pFrame); end - + local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot"); this:SetText(AL["QuickLook"].." 2"); this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );