diff --git a/lib/wibox/widget/imagebox.lua b/lib/wibox/widget/imagebox.lua index 7931e678c..24edbfc12 100644 --- a/lib/wibox/widget/imagebox.lua +++ b/lib/wibox/widget/imagebox.lua @@ -91,7 +91,7 @@ function imagebox:set_image(image) end end - image = surface.load(image) + image = image and surface.load(image) if image then local w = image.width