forked from openlp/openlp
head944
This commit is contained in:
commit
56091f6e6b
@ -358,6 +358,8 @@ class MainDisplay(DisplayWidget):
|
|||||||
else:
|
else:
|
||||||
self.displayBlank.setPixmap(
|
self.displayBlank.setPixmap(
|
||||||
QtGui.QPixmap.fromImage(self.blankFrame))
|
QtGui.QPixmap.fromImage(self.blankFrame))
|
||||||
|
if mode != HideMode.Screen and self.isHidden():
|
||||||
|
self.setVisible(True)
|
||||||
|
|
||||||
def showDisplay(self, message=u''):
|
def showDisplay(self, message=u''):
|
||||||
"""
|
"""
|
||||||
@ -367,6 +369,8 @@ class MainDisplay(DisplayWidget):
|
|||||||
"""
|
"""
|
||||||
log.debug(u'showDisplay')
|
log.debug(u'showDisplay')
|
||||||
self.displayBlank.setPixmap(self.transparent)
|
self.displayBlank.setPixmap(self.transparent)
|
||||||
|
if self.isHidden():
|
||||||
|
self.setVisible(True)
|
||||||
#Trigger actions when display is active again
|
#Trigger actions when display is active again
|
||||||
Receiver.send_message(u'maindisplay_active')
|
Receiver.send_message(u'maindisplay_active')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user