forked from openlp/openlp
Add checking of Display on Screen Flag for single screen outputs.
Fixes: https://launchpad.net/bugs/730160
This commit is contained in:
parent
7fd5a1d7fe
commit
7cf0a582ca
@ -425,6 +425,13 @@ class MainDisplay(DisplayWidget):
|
||||
if self.isLive:
|
||||
if self.hideMode:
|
||||
self.hideDisplay(self.hideMode)
|
||||
else:
|
||||
# Single screen active
|
||||
if self.screens.monitor_number == 0:
|
||||
# Only make visible if setting enabled
|
||||
if QtCore.QSettings().value(u'general/display on monitor',
|
||||
QtCore.QVariant(True)).toBool():
|
||||
self.setVisible(True)
|
||||
else:
|
||||
self.setVisible(True)
|
||||
preview = QtGui.QImage(self.screen[u'size'].width(),
|
||||
|
Loading…
Reference in New Issue
Block a user