From 5f1db14ba4219913258e950b45e9369e97a432b2 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 10 Mar 2013 20:35:14 +0000 Subject: [PATCH] Minor fixes --- openlp/core/ui/advancedtab.py | 2 +- tests/interfaces/openlp_core_ui/test_settings_form.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/advancedtab.py b/openlp/core/ui/advancedtab.py index 34e28e3d0..b7541e24d 100644 --- a/openlp/core/ui/advancedtab.py +++ b/openlp/core/ui/advancedtab.py @@ -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') diff --git a/tests/interfaces/openlp_core_ui/test_settings_form.py b/tests/interfaces/openlp_core_ui/test_settings_form.py index 0983c1996..2ec95fe63 100644 --- a/tests/interfaces/openlp_core_ui/test_settings_form.py +++ b/tests/interfaces/openlp_core_ui/test_settings_form.py @@ -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' \ No newline at end of file + assert len(self.form.processes) == 2, u'No new processes have been added to the stack'