forked from openlp/openlp
Fix Song previews when returning from blank screen
This commit is contained in:
parent
4257bc2e4a
commit
975d9f6a1c
@ -874,7 +874,8 @@ class SlideController(QtGui.QWidget):
|
|||||||
using *Blank to Theme*.
|
using *Blank to Theme*.
|
||||||
"""
|
"""
|
||||||
log.debug(u'updatePreview %s ' % self.screens.current[u'primary'])
|
log.debug(u'updatePreview %s ' % self.screens.current[u'primary'])
|
||||||
if not self.screens.current[u'primary']:
|
if not self.screens.current[u'primary'] and \
|
||||||
|
self.serviceItem.is_capable(ItemCapabilities.ProvidesOwnDisplay):
|
||||||
# Grab now, but try again in a couple of seconds if slide change
|
# Grab now, but try again in a couple of seconds if slide change
|
||||||
# is slow
|
# is slow
|
||||||
QtCore.QTimer.singleShot(0.5, self.grabMainDisplay)
|
QtCore.QTimer.singleShot(0.5, self.grabMainDisplay)
|
||||||
|
Loading…
Reference in New Issue
Block a user