-- Show icons of tools in toolbar

function setIcon(v)
	local imageButton = UiFrame:FindFirstChild(v.Name)
	if imageButton then
		--imageButton.Image = ''
		local tool = v.Value
		if tool then
			imageButton.Visible = true
			--imageButton.Image = tool.TextureId
			imageButton.Item.Text = tool.Name
		else
			imageButton.Visible = false
		end
	end
end

