From 770843e0c6657b30d8fea7e2318165d3f4fc855f Mon Sep 17 00:00:00 2001 From: suutari-olli Date: Thu, 3 Mar 2016 00:49:49 +0200 Subject: [PATCH] This branch adds the functionality of un-blanking display from: blank to desktop, black and theme by clicking slides in "Live" panel. This also adds this functionality for: - Starting loops - Go to verse x - Next/Previous verse --- openlp/core/ui/slidecontroller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index d2e2fe4ae..518995242 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -1085,6 +1085,8 @@ class SlideController(DisplayController, RegistryProperties): # done by the thread holding the lock. If it is a "start" slide, we must wait for the lock, but only for 0.2 # seconds, since we don't want to cause a deadlock timeout = 0.2 if start else -1 + if self.is_live: + Registry().execute('slidecontroller_live_unblank') if not self.slide_selected_lock.acquire(start, timeout): if start: self.log_debug('Could not get lock in slide_selected after waiting %f, skip to avoid deadlock.'