Added a fix to update the shopping list window.
pschifferer [02-19-09 - 20:24]
Added a fix to update the shopping list window.
diff --git a/CauldronMain.lua b/CauldronMain.lua
index 4f0587e..e500c50 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -310,7 +310,7 @@ function Cauldron:OnBagUpdate(event, bagid)
local recalc = false;
for item, itemCount in pairs(items) do
--@alpha@
- self:debug("OnBagUpdate: item="..item.."; itemCount="..itemCount);
+ self:debug("OnBagUpdate: item="..tostring(item).."; itemCount="..itemCount);
--@end-alpha@
if itemCount > 0 then
-- adjust shopping list
@@ -361,6 +361,7 @@ function Cauldron:OnBagUpdate(event, bagid)
-- Cauldron:UpdateSkills();
self:Frame_Update();
+ Cauldron:UpdateShoppingList();
--@alpha@
self:debug("OnBagUpdate exit");