From 10d68dad3ffe94f60d70d7c5f6eabd26614df4e3 Mon Sep 17 00:00:00 2001 From: suutari-olli Date: Fri, 1 Apr 2016 18:12:19 +0300 Subject: [PATCH] - Fixed issue where PPT/Impress is not unblanked on "Previous/Next" (Green arrows). --- openlp/plugins/presentations/lib/messagelistener.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/presentations/lib/messagelistener.py b/openlp/plugins/presentations/lib/messagelistener.py index cc5a6f05e..566bef456 100644 --- a/openlp/plugins/presentations/lib/messagelistener.py +++ b/openlp/plugins/presentations/lib/messagelistener.py @@ -26,7 +26,7 @@ import os from PyQt5 import QtCore -from openlp.core.common import Registry +from openlp.core.common import Registry, Settings from openlp.core.ui import HideMode from openlp.core.lib import ServiceItemContext, ServiceItem from openlp.plugins.presentations.lib.pdfcontroller import PDF_CONTROLLER_FILETYPES @@ -419,6 +419,8 @@ class MessageListener(object): is_live = message[1] if is_live: self.live_handler.next() + if Settings().value('core/click live slide to unblank'): + Registry().execute('slidecontroller_live_unblank') else: self.preview_handler.next() @@ -431,6 +433,8 @@ class MessageListener(object): is_live = message[1] if is_live: self.live_handler.previous() + if Settings().value('core/click live slide to unblank'): + Registry().execute('slidecontroller_live_unblank') else: self.preview_handler.previous()