forked from openlp/openlp
Screen switching now works
This commit is contained in:
parent
ca58541cb5
commit
2e6c06ad1f
@ -474,10 +474,9 @@ class GeneralTab(SettingsTab):
|
||||
else:
|
||||
self.screens.reset_current_display()
|
||||
# Order is important so be careful if you change
|
||||
if self.overrideChanged:
|
||||
if self.overrideChanged or postUpdate:
|
||||
Receiver.send_message(u'config_screen_changed')
|
||||
if postUpdate:
|
||||
Receiver.send_message(u'config_updated')
|
||||
Receiver.send_message(u'config_updated')
|
||||
self.overrideChanged = False
|
||||
|
||||
def onOverrideCheckBoxToggled(self, checked):
|
||||
|
@ -104,10 +104,8 @@ class MainDisplay(DisplayWidget):
|
||||
QtCore.SIGNAL(u'maindisplay_show'), self.showDisplay)
|
||||
|
||||
def setup(self):
|
||||
log.debug(u'Setup %s %s for %s ' % (self.isLive,
|
||||
self.screens, self.screens.monitor_number))
|
||||
print (u'Setup %s %s for %s ' % (self.isLive,
|
||||
self.screens, self.screens.monitor_number))
|
||||
log.debug(u'Setup live = %s for %s ' % (self.isLive,
|
||||
self.screens.monitor_number))
|
||||
self.screen = self.screens.current
|
||||
self.setVisible(False)
|
||||
self.setGeometry(self.screen[u'size'])
|
||||
|
Loading…
Reference in New Issue
Block a user