Commit fb9912ea authored by Tukz's avatar Tukz
Browse files

Merge branch 'Classic' of ssh://git.tukui.org:47333/Tukz/Tukui into Classic

parents 80321fbf 1b068a2b
......@@ -807,7 +807,7 @@ end
function Bags:OnEvent(event, ...)
if (event == "BAG_UPDATE") then
self:BagUpdate(...)
elseif (event == "MERCHANT_CLOSED") then
elseif (event == "MERCHANT_CLOSED" or event == "MAIL_CLOSED") then
CloseAllBags()
elseif (event == "CURRENCY_DISPLAY_UPDATE") then
BackpackTokenFrame_Update()
......@@ -920,6 +920,7 @@ function Bags:Enable()
self:RegisterEvent("BANKFRAME_CLOSED")
self:RegisterEvent("BANKFRAME_OPENED")
self:RegisterEvent("MERCHANT_CLOSED")
self:RegisterEvent("MAIL_CLOSED")
self:SetScript("OnEvent", self.OnEvent)
for i = 1, 6 do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment