Clean up screen rest a bit

bzr-revno: 1517
This commit is contained in:
Tim Bentley 2011-05-05 18:10:27 +01:00
commit 97e85e064a

View File

@ -362,12 +362,11 @@ class GeneralTab(SettingsTab):
Receiver.send_message(u'slidecontroller_live_spin_delay', Receiver.send_message(u'slidecontroller_live_spin_delay',
self.timeoutSpinBox.value()) self.timeoutSpinBox.value())
# Reset screens after initial definition # Reset screens after initial definition
if self.overrideChanged: self.screens.override[u'size'] = QtCore.QRect(
self.screens.override[u'size'] = QtCore.QRect( self.customXValueEdit.value(),
self.customXValueEdit.value(), self.customYValueEdit.value(),
self.customYValueEdit.value(), self.customWidthValueEdit.value(),
self.customWidthValueEdit.value(), self.customHeightValueEdit.value())
self.customHeightValueEdit.value())
if self.overrideCheckBox.isChecked(): if self.overrideCheckBox.isChecked():
self.screens.set_override_display() self.screens.set_override_display()
else: else:
@ -394,4 +393,4 @@ class GeneralTab(SettingsTab):
""" """
Called when the width, height, x position or y position has changed. Called when the width, height, x position or y position has changed.
""" """
self.overrideChanged = True self.overrideChanged = True