Merge pull request #1709 from axujen/master
Fix imagebox:set_image not returning anything
This commit is contained in:
commit
2b1c99c2a6
|
@ -104,7 +104,7 @@ function imagebox:set_image(image)
|
||||||
if self._private.image == image then
|
if self._private.image == image then
|
||||||
-- The image could have been modified, so better redraw
|
-- The image could have been modified, so better redraw
|
||||||
self:emit_signal("widget::redraw_needed")
|
self:emit_signal("widget::redraw_needed")
|
||||||
return
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
self._private.image = image
|
self._private.image = image
|
||||||
|
|
Loading…
Reference in New Issue