When replacing live background with an image the preview is updated. When resetting the live background the preview was not reset. This commit fixes this.

bzr-revno: 2268
This commit is contained in:
Patrick Zimmermann 2013-07-05 20:41:49 +02:00 committed by Andreas Preikschat
commit 910587e81f
1 changed files with 3 additions and 0 deletions

View File

@ -328,6 +328,9 @@ class MainDisplay(Display):
self.display_image(self.service_item.bg_image_bytes)
else:
self.display_image(None)
# Update the preview frame.
if self.is_live:
self.live_controller.update_preview()
# clear the cache
self.override = {}