Mercurial > wow > mailopener
diff Core.lua @ 143:2af0f77dbae0
Fixed an error when QA?s mass opening is not available (such as for ZeroAuctions).
| author | Zerotorescue |
|---|---|
| date | Sat, 19 Feb 2011 15:20:20 +0100 |
| parents | debff5ad3de4 |
| children | 14fdf327124e |
line wrap: on
line diff
--- a/Core.lua Sat Jan 29 22:32:35 2011 +0100 +++ b/Core.lua Sat Feb 19 15:20:20 2011 +0100 @@ -450,10 +450,14 @@ local QAMail = AHAddon:GetModule("Mail", true); if QAMail then - -- Hide the open all button - QAMail.massOpening:Hide(); - -- Hide the x mail remaining text - QAMail.totalMail:Hide(); + if QAMail.massOpening then + -- Hide the open all button + QAMail.massOpening:Hide(); + end + if QAMail.totalMail then + -- Hide the x mail remaining text + QAMail.totalMail:Hide(); + end end end end
