From 9e0294024bc011d3337fb10c1ec46a04922da06c Mon Sep 17 00:00:00 2001 From: robbiejackson Date: Sun, 21 Feb 2021 21:17:57 +0000 Subject: [PATCH] fix preview video restart after pause or stop --- openlp/core/ui/media/mediacontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index d1c505ea7..b185e5bef 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -462,10 +462,10 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties): controller.volume_slider.blockSignals(False) controller.media_info.is_playing = True if not controller.media_info.is_background: + display = self._define_display(controller) if controller.is_live: controller.set_hide_mode(None) - display = self._define_display(controller) - display.hide_display(HideMode.Screen) + display.hide_display(HideMode.Screen) controller._set_theme(controller.service_item) display.load_verses([{"verse": "v1", "text": "", "footer": " "}]) controller.output_has_changed()