openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #20863
[Merge] lp:~patrick-zakweb/openlp/live-background-reset into lp:openlp
mohij has proposed merging lp:~patrick-zakweb/openlp/live-background-reset into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~patrick-zakweb/openlp/live-background-reset/+merge/172193
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.
Thanks TRB143++ for reporting this.
--
https://code.launchpad.net/~patrick-zakweb/openlp/live-background-reset/+merge/172193
Your team OpenLP Core is requested to review the proposed merge of lp:~patrick-zakweb/openlp/live-background-reset into lp:openlp.
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py 2013-06-16 07:54:16 +0000
+++ openlp/core/ui/maindisplay.py 2013-06-29 10:05:30 +0000
@@ -327,6 +327,9 @@
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 = {}
Follow ups