From ffda3b0c4cd2812b3bcdcaba34ab64d882d137e4 Mon Sep 17 00:00:00 2001 From: FireFish5000 Date: Sat, 25 Mar 2017 00:07:55 -0500 Subject: [PATCH] Add null check to set imagebox to blank state --- lib/wibox/widget/imagebox.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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