Fix for force-updating display on windows when using themes without transitions.

This commit is contained in:
Tomas Groth 2016-02-09 22:01:20 +01:00
parent a172183a4e
commit fdb53f919f
1 changed files with 3 additions and 0 deletions

View File

@ -408,7 +408,10 @@ class MainDisplay(OpenLPMixin, Display, RegistryProperties):
self.application.process_events()
# Workaround for bug #1531319, should not be needed with PyQt 5.6.
if is_win():
# Workaround for bug #1531319, should not be needed with PyQt 5.6.
fade_shake_timer.stop()
elif is_win():
self.shake_web_view()
# Wait for the webview to update before getting the preview.
# Important otherwise first preview will miss the background !
while not self.web_loaded: