self.screens.display, is always true, no matter which mode you use (single or dual screen)

self.screens.current['primary'] is true, in single screen mode, or when the operator screen is also used as the main display!
This commit is contained in:
Philip Ridout 2010-07-26 21:14:11 +01:00
parent 5c6f7da055
commit 4344751198
1 changed files with 2 additions and 0 deletions

View File

@ -455,6 +455,8 @@ class MainDisplay(DisplayWidget):
self.displayText.setPixmap(frame)
else:
self.displayText.setPixmap(QtGui.QPixmap.fromImage(frame))
if not self.isVisible() and self.screens.current['primary']: # self.screens.display
self.setVisible(True)
class VideoDisplay(Phonon.VideoWidget):
"""