Fixed a bug where enchanting an item would throw an exception
Yaron Kfir [06-11-14 - 04:17]
Fixed a bug where enchanting an item would throw an exception
diff --git a/Changelog b/Changelog
index c7c650e..3da2f4b 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,8 @@
Changelog
+v1.2
+ - Fixed a bug where enchanting an item would throw an exception
+
v1.1
- Added some color
- Added price info to enchanting tooltip
diff --git a/PriceTrackerEnchantingTable.lua b/PriceTrackerEnchantingTable.lua
index 2d69c85..5948002 100644
--- a/PriceTrackerEnchantingTable.lua
+++ b/PriceTrackerEnchantingTable.lua
@@ -28,7 +28,7 @@ function PriceTrackerEnchantingTable:OnLoad(eventCode, addOnName)
ZO_PreHookHandler(self.enchanting.runeSlots[1].control, "OnUpdate", function() self:OnUpdateEnchantingRune(self.enchanting.runeSlots[1], "aspect") end)
ZO_PreHookHandler(self.enchanting.runeSlots[2].control, "OnUpdate", function() self:OnUpdateEnchantingRune(self.enchanting.runeSlots[2], "essence") end)
ZO_PreHookHandler(self.enchanting.runeSlots[3].control, "OnUpdate", function() self:OnUpdateEnchantingRune(self.enchanting.runeSlots[3], "potency") end)
- ZO_PreHookHandler(self.enchanting.resultTooltip, "OnHide", function() self:OnHideTooltip(self.enchanting.resultTooltip) end)
+ ZO_PreHookHandler(self.enchanting.resultTooltip, "OnHide", function() PriceTracker:OnHideTooltip(self.enchanting.resultTooltip) end)
end
function PriceTrackerEnchantingTable:OnUpdateEnchantingRune(rune, runeType)