Fix nil dereference

This commit is contained in:
Emmanuel Lepage Vallee 2015-03-13 00:15:21 -04:00
parent e65ae86d1d
commit 698ca53762
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ local function init()
end)
capi.tag.connect_signal("property::icon", function(t)
local item = cache[t]
if item then
if item and item._internal.icon_w then
item._internal.icon_w:set_image(tag.geticon(t) or beautiful.taglist_default_icon)
end
end)