forked from openlp/openlp
pep8 fixes
This commit is contained in:
parent
cd6903be86
commit
47acc9dc89
@ -87,7 +87,8 @@ class PowerpointController(PresentationController):
|
|||||||
"""
|
"""
|
||||||
def OnSlideShowNextClick(self, slideshow_window, effect):
|
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():
|
if not Registry().get('main_window').isActiveWindow():
|
||||||
log.debug('main window is not in focus - should update slidecontroller')
|
log.debug('main window is not in focus - should update slidecontroller')
|
||||||
|
@ -154,7 +154,7 @@ class PresentationTab(SettingsTab):
|
|||||||
self.ppt_slide_click_check_box.setChecked(Settings().value(self.settings_section +
|
self.ppt_slide_click_check_box.setChecked(Settings().value(self.settings_section +
|
||||||
'/powerpoint slide click advance'))
|
'/powerpoint slide click advance'))
|
||||||
self.ppt_slide_click_check_box.setEnabled(powerpoint_available)
|
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)
|
self.ppt_window_check_box.setEnabled(powerpoint_available)
|
||||||
# load pdf-program settings
|
# load pdf-program settings
|
||||||
enable_pdf_program = Settings().value(self.settings_section + '/enable_pdf_program')
|
enable_pdf_program = Settings().value(self.settings_section + '/enable_pdf_program')
|
||||||
|
Loading…
Reference in New Issue
Block a user