Minor fixes

This commit is contained in:
Tim Bentley 2013-03-10 20:35:14 +00:00
parent 7d371228bc
commit 5f1db14ba4
2 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ class AdvancedTab(SettingsTab):
settings.setValue(u'default color', self.default_color)
settings.setValue(u'default image', self.default_file_edit.text())
settings.setValue(u'slide limits', self.slide_limits)
if self.x11_bypass_check_box.isChecked() != settings.value(u'x11 bypass wm'):
if self.x11_bypass_check_box.isChecked() != settings.value(u'x11 bypass wm'):
settings.setValue(u'x11 bypass wm', self.x11_bypass_check_box.isChecked())
self.settings_form.register_post_process(u'config_screen_changed')
self.settings_form.register_post_process(u'slidecontroller_update_slide_limits')

View File

@ -107,4 +107,4 @@ class TestSettingsForm(TestCase):
# WHEN testing the processing stack
# THEN the processing stack should still have two items
assert len(self.form.processes) == 2, u'No new processes have been added to the stack'
assert len(self.form.processes) == 2, u'No new processes have been added to the stack'