forked from openlp/openlp
Fix reference to none object
bzr-revno: 1292 Fixes: https://launchpad.net/bugs/716843
This commit is contained in:
commit
f1fe86250a
@ -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