Fix previews after screen blanking on live controller

bzr-revno: 1279
This commit is contained in:
Tim Bentley 2011-02-08 18:42:24 +00:00
commit 48e5fc0ced
1 changed files with 2 additions and 1 deletions

View File

@ -874,7 +874,8 @@ class SlideController(QtGui.QWidget):
using *Blank to Theme*.
"""
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
# is slow
QtCore.QTimer.singleShot(0.5, self.grabMainDisplay)