5.2.0
Steven Jackson [11-15-14 - 00:41]
diff --git a/Interface/AddOns/SVUI/packages/tools/components/profession.lua b/Interface/AddOns/SVUI/packages/tools/components/profession.lua
index 862c612..28b8c03 100644
--- a/Interface/AddOns/SVUI/packages/tools/components/profession.lua
+++ b/Interface/AddOns/SVUI/packages/tools/components/profession.lua
@@ -189,18 +189,20 @@ local function LoadToolBarProfessions()
-- HEARTH BUTTON
local hearthStone = GetItemInfo(6948);
- local hearth = SV.Dock:SetDockButton("BottomLeft", L["Hearthstone"], HEARTH_ICON, nil, "SVUI_Hearth", SetHearthTooltip, "SecureActionButtonTemplate")
- hearth.Icon:SetTexCoord(0,0.5,0,1)
- hearth:SetAttribute("type1", "macro")
- hearth:SetAttribute("macrotext1", "/use [nomod]" .. hearthStone)
- local hasRightClick = false;
- for i = 1, #HEARTH_SPELLS do
- if(IsSpellKnown(HEARTH_SPELLS[i])) then
- local rightClickSpell = GetSpellInfo(HEARTH_SPELLS[i])
- hearth:SetAttribute("tipExtraText", rightClickSpell)
- hearth:SetAttribute("type2", "macro")
- hearth:SetAttribute("macrotext2", "/use [nomod] " .. rightClickSpell)
- hasRightClick = true;
+ if(hearthStone and type(hearthStone) == "string") then
+ local hearth = SV.Dock:SetDockButton("BottomLeft", L["Hearthstone"], HEARTH_ICON, nil, "SVUI_Hearth", SetHearthTooltip, "SecureActionButtonTemplate")
+ hearth.Icon:SetTexCoord(0,0.5,0,1)
+ hearth:SetAttribute("type1", "macro")
+ hearth:SetAttribute("macrotext1", "/use [nomod]" .. hearthStone)
+ local hasRightClick = false;
+ for i = 1, #HEARTH_SPELLS do
+ if(IsSpellKnown(HEARTH_SPELLS[i])) then
+ local rightClickSpell = GetSpellInfo(HEARTH_SPELLS[i])
+ hearth:SetAttribute("tipExtraText", rightClickSpell)
+ hearth:SetAttribute("type2", "macro")
+ hearth:SetAttribute("macrotext2", "/use [nomod] " .. rightClickSpell)
+ hasRightClick = true;
+ end
end
end
diff --git a/Interface/AddOns/SVUI_StyleOMatic/components/addons/Recount.lua b/Interface/AddOns/SVUI_StyleOMatic/components/addons/Recount.lua
index 6d0763f..56dd68c 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/components/addons/Recount.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/components/addons/Recount.lua
@@ -126,11 +126,7 @@ PLUGIN:SaveAddonStyle("Recount", StyleRecount)
function PLUGIN:Docklet_Recount(parent)
if not Recount then return end
- local n=Recount.MainWindow.Panel;
- if n and not n.Panel then
- n:Show()
- n:SetFixedPanelTemplate('Transparent',true)
- end
+
Recount.db.profile.Locked=true;
Recount.db.profile.Scaling=1;
Recount.db.profile.ClampToScreen=true;
diff --git a/Interface/BUTTONS/Thumbs.db b/Interface/BUTTONS/Thumbs.db
new file mode 100644
index 0000000..9a524d6
Binary files /dev/null and b/Interface/BUTTONS/Thumbs.db differ
diff --git a/Interface/Characterframe/Thumbs.db b/Interface/Characterframe/Thumbs.db
deleted file mode 100644
index e66b1c5..0000000
Binary files a/Interface/Characterframe/Thumbs.db and /dev/null differ