forked from openlp/openlp
pep fixes
This commit is contained in:
parent
4bef5f72f2
commit
4594fcefbd
@ -555,9 +555,9 @@ class MainDisplay(OpenLPMixin, Display, RegistryProperties):
|
||||
|
||||
def shake_web_view(self):
|
||||
"""
|
||||
Resizes the web_view a bit to force an update. Workaround for bug #1531319, should not be needed with PyQt 5.6.
|
||||
Resizes the web_view a bit to force an update. Workaround for bug #1531319, should not be needed with PyQt 5.6.
|
||||
"""
|
||||
self.web_view.setGeometry(0, 0, self.width(), self.height()-1)
|
||||
self.web_view.setGeometry(0, 0, self.width(), self.height() - 1)
|
||||
self.web_view.setGeometry(0, 0, self.width(), self.height())
|
||||
|
||||
|
||||
|
@ -1101,7 +1101,7 @@ class SlideController(DisplayController, RegistryProperties):
|
||||
self.display.image(to_display)
|
||||
# reset the store used to display first image
|
||||
self.service_item.bg_image_bytes = None
|
||||
# Workaround for bug #1531319, should not be needed with PyQt 5.6.
|
||||
# Workaround for bug #1531319, should not be needed with PyQt 5.6.
|
||||
if self.is_live and is_win():
|
||||
self.display.shake_web_view()
|
||||
self.selected_row = row
|
||||
|
Loading…
Reference in New Issue
Block a user