Tracked quests tab
Leandro Silva [10-15-18 - 17:06]
diff --git a/LeoAltholic.lua b/LeoAltholic.lua
index 4e5a3c9..98cd416 100644
--- a/LeoAltholic.lua
+++ b/LeoAltholic.lua
@@ -2,7 +2,7 @@
LeoAltholic = {}
LeoAltholic.name = "LeoAltholic"
LeoAltholic.displayName = "Leo's Altholic"
-LeoAltholic.version = "1.2.4"
+LeoAltholic.version = "1.2.5"
LeoAltholic.chatPrefix = "|c39B027" .. LeoAltholic.name .. "|r: "
LeoAltholic.timerQueue = {}
diff --git a/LeoAltholic.txt b/LeoAltholic.txt
index 49c9f42..08398da 100644
--- a/LeoAltholic.txt
+++ b/LeoAltholic.txt
@@ -1,6 +1,6 @@
## Title: Leo's Altholic
## APIVersion: 100024 100025
-## Version: 1.2.4
+## Version: 1.2.5
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoAltholicSavedVariables
## OptionalDependsOn: LibStub LibFeedback LibAddonMenu-2.0
diff --git a/LeoAltholicUI.lua b/LeoAltholicUI.lua
index 6c779c6..3a3378c 100644
--- a/LeoAltholicUI.lua
+++ b/LeoAltholicUI.lua
@@ -482,13 +482,12 @@ function LeoAltholic.DisplayCharacterFrames()
control:SetText(char.champion[dAttribute].disciplines[i].spent)
end
- --[[
if char.quests ~= nil and char.quests.tracked ~= nil then
row = WINDOW_MANAGER:GetControlByName('LeoAltholicTrackedRow'..x)
for i = 1, 10 do
- local label = row:GetNamedChild("Quest" .. i .. "Label")
- local done = row:GetNamedChild("Quest" .. i .. "Done")
if char.quests.tracked[i] ~= nil and char.quests.tracked[i].questType ~= QUEST_TYPE_CRAFTING then
+ local label = row:GetNamedChild("Quest" .. i .. "Label")
+ local done = row:GetNamedChild("Quest" .. i .. "Done")
label:SetText(char.quests.tracked[i].name)
label:SetHandler('OnMouseUp', function(control, button, upInside)
if upInside == true and button == MOUSE_BUTTON_INDEX_RIGHT then
@@ -517,7 +516,6 @@ function LeoAltholic.DisplayCharacterFrames()
end
end
end
- ]]
row = WINDOW_MANAGER:GetControlByName('LeoAltholicInventoryRow'..x)
local color = '|c21A121'