Merge pull request #1709 from axujen/master

Fix imagebox:set_image not returning anything
This commit is contained in:
Emmanuel Lepage Vallée 2017-04-07 20:45:20 -04:00 committed by GitHub
commit 2b1c99c2a6
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ function imagebox:set_image(image)
if self._private.image == image then
-- The image could have been modified, so better redraw
self:emit_signal("widget::redraw_needed")
return
return true
end
self._private.image = image