Quantcast

Added a small tooltip to identify the addon.

KyrosKrane [05-27-18 - 08:02]
Added a small tooltip to identify the addon.
Filename
Broker_RaidMakeup.lua
diff --git a/Broker_RaidMakeup.lua b/Broker_RaidMakeup.lua
index 5ff8ea5..f28e436 100644
--- a/Broker_RaidMakeup.lua
+++ b/Broker_RaidMakeup.lua
@@ -391,7 +391,11 @@ BRM.LDO = _G.LibStub("LibDataBroker-1.1"):NewDataObject("Broker_RaidMakeup", {
 	value = "0",
 	icon = BRM.MainIcon:GetIconString(),
 	label = "Broker_RaidMakeup",
-	OnTooltipShow = function()end,
+	OnTooltipShow = function(tooltip)
+		if not tooltip or not tooltip.AddLine then return end
+		tooltip:AddLine("Broker_RaidMakeup")
+		tooltip:AddLine("Click to refresh")
+	end,
 }) -- BRM.LDO creation