Dont set Avatar if there is none

Fixes #8878
This commit is contained in:
Philipp Hörist 2018-01-30 23:40:15 +01:00
parent 6deedb1743
commit 258c7922a5

View file

@ -4843,6 +4843,7 @@ class RosterWindow:
return
image = model[titer][Column.AVATAR_IMG]
if image is not None:
surface = image.get_property('surface')
renderer.set_property('surface', surface)
# allocate space for the icon only if needed