pep8 fixes

This commit is contained in:
Tomas Groth 2015-05-05 11:03:47 +02:00
parent cd6903be86
commit 47acc9dc89
2 changed files with 3 additions and 2 deletions

View File

@ -87,7 +87,8 @@ class PowerpointController(PresentationController):
"""
def OnSlideShowNextClick(self, slideshow_window, effect):
"""
Occurs on the next click of the slide. If the main OpenLP is not in focus force update of the slidecontroller.
Occurs on the next click of the slide.
If the main OpenLP window is not in focus force update of the slidecontroller.
"""
if not Registry().get('main_window').isActiveWindow():
log.debug('main window is not in focus - should update slidecontroller')

View File

@ -154,7 +154,7 @@ class PresentationTab(SettingsTab):
self.ppt_slide_click_check_box.setChecked(Settings().value(self.settings_section +
'/powerpoint slide click advance'))
self.ppt_slide_click_check_box.setEnabled(powerpoint_available)
self.ppt_window_check_box.setChecked(Settings().value(self.settings_section +'/powerpoint control window'))
self.ppt_window_check_box.setChecked(Settings().value(self.settings_section + '/powerpoint control window'))
self.ppt_window_check_box.setEnabled(powerpoint_available)
# load pdf-program settings
enable_pdf_program = Settings().value(self.settings_section + '/enable_pdf_program')