changeset 19:e801ab5c2e1b v0.7.2.1

Bug fix - completed appearences were still showing in LDB tooltip - not anymore! (Thanks for the report pros4c!)
author Vynn <mischivin@gmail.com>
date Thu, 30 Mar 2017 22:52:08 -0400
parents 7ddddfad8e71
children 9eac0aa3e9ac
files Spotlight.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Spotlight.lua	Thu Mar 30 22:50:45 2017 -0400
+++ b/Spotlight.lua	Thu Mar 30 22:52:08 2017 -0400
@@ -118,7 +118,9 @@
 function dataobj:OnTooltipShow()
 	self:AddLine("|cffe5cc80Spotlight - Hidden Artifact Skins|r|n|n");
 	for k, v in pairs(Spotlight.IDs) do
-		self:AddDoubleLine(k .. ":", Spotlight.Format(k, false) .. " (" .. Spotlight.Format(k, true) .. ")");
+		if not Spotlight.Status[k].Completed then
+			self:AddDoubleLine(k .. ":", Spotlight.Format(k, false) .. " (" .. Spotlight.Format(k, true) .. ")");
+		end
 	end
 	self:AddLine("|nClick to toggle display method");
 end