From fdb53f919f0416127a2523eb5a0087c233774c75 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Tue, 9 Feb 2016 22:01:20 +0100 Subject: [PATCH] Fix for force-updating display on windows when using themes without transitions. --- openlp/core/ui/maindisplay.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index 142f9a047..a4bfa4bc5 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -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: