forked from openlp/openlp
Fix missing code from previous merge
This commit is contained in:
parent
0459a8c48e
commit
9a519f2ff0
@ -442,8 +442,13 @@ class GeneralTab(SettingsTab):
|
||||
self.screens.set_current_display(self.monitorNumber)
|
||||
Receiver.send_message(u'config_screen_changed')
|
||||
Receiver.send_message(u'config_updated')
|
||||
# On save update the strings as well
|
||||
self.postSetUp()
|
||||
|
||||
def postSetUp(self):
|
||||
"""
|
||||
Set Strings after initial definition
|
||||
"""
|
||||
self.screens.override[u'size'] = QtCore.QRect(
|
||||
int(self.customXValueEdit.text()),
|
||||
int(self.customYValueEdit.text()),
|
||||
@ -456,6 +461,9 @@ class GeneralTab(SettingsTab):
|
||||
self.screens.reset_current_display()
|
||||
|
||||
def onOverrideCheckBoxToggled(self, checked):
|
||||
"""
|
||||
Toggle screen state depending on check box state
|
||||
"""
|
||||
self.customXValueEdit.setEnabled(checked)
|
||||
self.customYValueEdit.setEnabled(checked)
|
||||
self.customHeightValueEdit.setEnabled(checked)
|
||||
|
@ -359,7 +359,7 @@ class MainDisplay(DisplayWidget):
|
||||
if mode != HideMode.Screen and self.isHidden():
|
||||
self.setVisible(True)
|
||||
|
||||
def showDisplay(self, message=u''):
|
||||
def showDisplay(self):
|
||||
"""
|
||||
Show the stored layers so the screen reappears as it was
|
||||
originally.
|
||||
|
Loading…
Reference in New Issue
Block a user