- added a tooltip to the LDB launcher

This commit is contained in:
parnic
2010-09-21 03:49:35 +00:00
parent a5f5958c5e
commit 6a89a7ca11

View File

@ -65,10 +65,17 @@ function Breakables:InitLDB()
type = "launcher",
text = "Breakables",
icon = "Interface\\Icons\\ability_warrior_sunder",
OnClick = function(_, msg)
OnClick = function(button, msg)
self:OnSlashCommand()
end,
})
if ldbButton then
function ldbButton:OnTooltipShow()
self:AddLine("Breakables @project-version@")
self:AddLine("Click to open Breakables options.", 1, 1, 1)
end
end
end
end