forked from openlp/openlp
Fix crash on blank of single display screen
Fixes: https://launchpad.net/bugs/716843
This commit is contained in:
parent
4422d824bb
commit
4a4f7d7ef4
@ -876,7 +876,7 @@ 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'] and \
|
if not self.screens.current[u'primary'] and self.serviceItem and \
|
||||||
self.serviceItem.is_capable(ItemCapabilities.ProvidesOwnDisplay):
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user